[PATCH] f2fs: remove blk_finish_plug

Jaegeuk Kim posted 1 patch 11 months, 2 weeks ago
fs/f2fs/data.c | 4 ----
1 file changed, 4 deletions(-)
[PATCH] f2fs: remove blk_finish_plug
Posted by Jaegeuk Kim 11 months, 2 weeks ago
Let's remove unclear blk_finish_plug.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
---
 fs/f2fs/data.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index 35b9455fb899..f681742ebecb 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -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);
-- 
2.47.1.613.gc27f4b7a9f-goog
Re: [f2fs-dev] [PATCH] f2fs: remove blk_finish_plug
Posted by Chao Yu 11 months, 1 week ago
On 1/9/25 02:19, Jaegeuk Kim via Linux-f2fs-devel wrote:
> Let's remove unclear blk_finish_plug.
> 
> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>

Reviewed-by: Chao Yu <chao@kernel.org>

Thanks,