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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Kemeng Shi <[email protected]> Reviewed-by: Jan Kara <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
1 parent 989e0cd commit ac1e21b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)