summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/node.c
diff options
context:
space:
mode:
authorWenjie Cheng <cwjhust@gmail.com>2024-06-14 02:48:41 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2024-08-15 17:26:40 +0200
commitb722ff8ad66cf9beba971d9eb4bb7b5e6265ae5c (patch)
tree3a8cea8e8e68ac5604fc643ef3b96b1943d11d70 /fs/f2fs/node.c
parentf2fs: get rid of buffer_head use (diff)
downloadlinux-b722ff8ad66cf9beba971d9eb4bb7b5e6265ae5c.tar.xz
linux-b722ff8ad66cf9beba971d9eb4bb7b5e6265ae5c.zip
Revert "f2fs: use flush command instead of FUA for zoned device"
This reverts commit c550e25bca660ed2554cbb48d32b82d0bb98e4b1. Commit c550e25bca660ed2554cbb48d32b82d0bb98e4b1 ("f2fs: use flush command instead of FUA for zoned device") used additional flush command to keep write order. Since Commit dd291d77cc90eb6a86e9860ba8e6e38eebd57d12 ("block: Introduce zone write plugging") has enabled the block layer to handle this order issue, there is no need to use flush command. Signed-off-by: Wenjie Cheng <cwjhust@gmail.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '')
-rw-r--r--fs/f2fs/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c
index 58721a55f173..2fe182f73599 100644
--- a/fs/f2fs/node.c
+++ b/fs/f2fs/node.c
@@ -1674,7 +1674,7 @@ static int __write_node_page(struct page *page, bool atomic, bool *submitted,
goto redirty_out;
}
- if (atomic && !test_opt(sbi, NOBARRIER) && !f2fs_sb_has_blkzoned(sbi))
+ if (atomic && !test_opt(sbi, NOBARRIER))
fio.op_flags |= REQ_PREFLUSH | REQ_FUA;
/* should add to global list before clearing PAGECACHE status */