diff options
author | Julian Sun <sunjunchao@bytedance.com> | 2025-08-25 20:53:39 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2025-09-25 14:37:07 -0400 |
commit | 0f3b05c12158ec7545fb336469ccce38c31c7f9f (patch) | |
tree | aa61e16eba57bbaddf829ab0d6bce86a9275926f /fs/jbd2/checkpoint.c | |
parent | 3c3fac6bc0a9c00dbe65d8dc0d3a282afe4d3188 (diff) |
jbd2: increase IO priority of checkpoint
In commit 6a3afb6ac6df ("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>
Diffstat (limited to 'fs/jbd2/checkpoint.c')
-rw-r--r-- | fs/jbd2/checkpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jbd2/checkpoint.c b/fs/jbd2/checkpoint.c index 38861ca04899..2d0719bf6d87 100644 --- a/fs/jbd2/checkpoint.c +++ b/fs/jbd2/checkpoint.c @@ -131,7 +131,7 @@ __flush_batch(journal_t *journal, int *batch_count) blk_start_plug(&plug); for (i = 0; i < *batch_count; i++) - write_dirty_buffer(journal->j_chkpt_bhs[i], REQ_SYNC); + write_dirty_buffer(journal->j_chkpt_bhs[i], JBD2_JOURNAL_REQ_FLAGS); blk_finish_plug(&plug); for (i = 0; i < *batch_count; i++) { |