Skip to content

Commit 0f3b05c

Browse files
Julian Suntytso
authored andcommitted
jbd2: increase IO priority of checkpoint
In commit 6a3afb6 ("jbd2: increase the journal IO's priority"), the priority of IOs initiated by jbd2 has been raised, exempting them from WBT throttling. Checkpoint is also a crucial operation of jbd2. While no serious issues have been observed so far, it should still be reasonable to exempt checkpoint from WBT throttling. Signed-off-by: Julian Sun <sunjunchao@bytedance.com> Reviewed-by: Zhang Yi <yi.zhang@huawei.com> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
1 parent 3c3fac6 commit 0f3b05c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/jbd2/checkpoint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ __flush_batch(journal_t *journal, int *batch_count)
131131

132132
blk_start_plug(&plug);
133133
for (i = 0; i < *batch_count; i++)
134-
write_dirty_buffer(journal->j_chkpt_bhs[i], REQ_SYNC);
134+
write_dirty_buffer(journal->j_chkpt_bhs[i], JBD2_JOURNAL_REQ_FLAGS);
135135
blk_finish_plug(&plug);
136136

137137
for (i = 0; i < *batch_count; i++) {

0 commit comments

Comments
 (0)