Skip to content

Commit ac1e21b

Browse files
zhangyi089brauner
authored andcommitted
jbd2: increase IO priority for writing revoke records
Commit '6a3afb6ac6df ("jbd2: increase the journal IO's priority")' increases the priority of journal I/O by marking I/O with the JBD2_JOURNAL_REQ_FLAGS. However, that commit missed the revoke buffers, so also addresses that kind of I/Os. Fixes: 6a3afb6 ("jbd2: increase the journal IO's priority") Signed-off-by: Zhang Yi <yi.zhang@huawei.com> Link: https://lore.kernel.org/r/20241203014407.805916-2-yi.zhang@huaweicloud.com Reviewed-by: Kemeng Shi <shikemeng@huaweicloud.com> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent 989e0cd commit ac1e21b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/jbd2/revoke.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ static void flush_descriptor(journal_t *journal,
654654
set_buffer_jwrite(descriptor);
655655
BUFFER_TRACE(descriptor, "write");
656656
set_buffer_dirty(descriptor);
657-
write_dirty_buffer(descriptor, REQ_SYNC);
657+
write_dirty_buffer(descriptor, JBD2_JOURNAL_REQ_FLAGS);
658658
}
659659
#endif
660660

0 commit comments

Comments
 (0)