Skip to content

Commit b7b911d

Browse files
author
Jaegeuk Kim
committed
f2fs: attach IO flags to the missing cases
This adds more IOs to attach flags. Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
1 parent 32b6aba commit b7b911d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fs/f2fs/data.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,7 @@ int f2fs_submit_page_bio(struct f2fs_io_info *fio)
691691
if (fio->io_wbc && !is_read_io(fio->op))
692692
wbc_account_cgroup_owner(fio->io_wbc, page, PAGE_SIZE);
693693

694+
__attach_io_flag(fio);
694695
bio_set_op_attrs(bio, fio->op, fio->op_flags);
695696

696697
inc_page_count(fio->sbi, is_read_io(fio->op) ?
@@ -877,6 +878,7 @@ int f2fs_merge_page_bio(struct f2fs_io_info *fio)
877878
alloc_new:
878879
if (!bio) {
879880
bio = __bio_alloc(fio, BIO_MAX_PAGES);
881+
__attach_io_flag(fio);
880882
bio_set_op_attrs(bio, fio->op, fio->op_flags);
881883

882884
add_bio_entry(fio->sbi, bio, page, fio->temp);

0 commit comments

Comments
 (0)