diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-05-10 11:28:38 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-05-23 21:05:37 -0700 |
commit | b9109b0e49b93b0ae663330acb36561b8f4f6905 (patch) | |
tree | 5d0820e9a803266c902d4992453f4127464bcc2d /fs/f2fs/gc.c | |
parent | 1919ffc0d7a300d4d8002e92ab3c6dea1974defc (diff) | |
download | linux-stable-b9109b0e49b93b0ae663330acb36561b8f4f6905.tar.gz linux-stable-b9109b0e49b93b0ae663330acb36561b8f4f6905.tar.bz2 linux-stable-b9109b0e49b93b0ae663330acb36561b8f4f6905.zip |
f2fs: remove unnecessary read cases in merged IO flow
Merged IO flow doesn't need to care about read IOs.
f2fs_submit_merged_bio -> f2fs_submit_merged_write
f2fs_submit_merged_bios -> f2fs_submit_merged_writes
f2fs_submit_merged_bio_cond -> f2fs_submit_merged_write_cond
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/gc.c')
-rw-r--r-- | fs/f2fs/gc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c index 965fbf5d0a2e..67b87155bc48 100644 --- a/fs/f2fs/gc.c +++ b/fs/f2fs/gc.c @@ -670,7 +670,7 @@ static void move_encrypted_block(struct inode *inode, block_t bidx, fio.op = REQ_OP_WRITE; fio.op_flags = REQ_SYNC; fio.new_blkaddr = newaddr; - f2fs_submit_page_mbio(&fio); + f2fs_submit_page_write(&fio); f2fs_update_data_blkaddr(&dn, newaddr); set_inode_flag(inode, FI_APPEND_WRITE); @@ -936,8 +936,8 @@ next: } if (gc_type == FG_GC) - f2fs_submit_merged_bio(sbi, - (type == SUM_TYPE_NODE) ? NODE : DATA, WRITE); + f2fs_submit_merged_write(sbi, + (type == SUM_TYPE_NODE) ? NODE : DATA); blk_finish_plug(&plug); |