]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
f2fs: remove blk_finish_plug
authorJaegeuk Kim <jaegeuk@kernel.org>
Wed, 8 Jan 2025 18:18:32 +0000 (18:18 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 16 Jan 2025 17:27:51 +0000 (17:27 +0000)
Let's remove unclear blk_finish_plug.

Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c

index e9582e06403b6715a1ba904603d88bf16279e9d1..008ecd8fd386a13090068405c4fe6a085883c883 100644 (file)
@@ -511,10 +511,6 @@ static void f2fs_submit_write_bio(struct f2fs_sb_info *sbi, struct bio *bio,
                                  enum page_type type)
 {
        WARN_ON_ONCE(is_read_io(bio_op(bio)));
-
-       if (f2fs_lfs_mode(sbi) && current->plug && PAGE_TYPE_ON_MAIN(type))
-               blk_finish_plug(current->plug);
-
        trace_f2fs_submit_write_bio(sbi->sb, type, bio);
        iostat_update_submit_ctx(bio, type);
        submit_bio(bio);