diff mbox series

[f2fs-dev] f2fs: remove blk_finish_plug

Message ID 20250108181908.4148111-1-jaegeuk@kernel.org (mailing list archive)
State Accepted
Commit 4811fee8283f3f7416dd66e2303a55f6761187fc
Headers show
Series [f2fs-dev] f2fs: remove blk_finish_plug | expand

Commit Message

Jaegeuk Kim Jan. 8, 2025, 6:19 p.m. UTC
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(-)

Comments

Chao Yu Jan. 14, 2025, 12:13 p.m. UTC | #1
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,
patchwork-bot+f2fs--- via Linux-f2fs-devel Jan. 17, 2025, 9:10 p.m. UTC | #2
Hello:

This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@kernel.org>:

On Wed,  8 Jan 2025 18:19:08 +0000 you wrote:
> 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(-)

Here is the summary with links:
  - [f2fs-dev] f2fs: remove blk_finish_plug
    https://git.kernel.org/jaegeuk/f2fs/c/4811fee8283f

You are awesome, thank you!
diff mbox series

Patch

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);