No need to wait for data page writeback, wait or not
can be decided by device.

Signed-off-by: Yunlei He <heyun...@huawei.com>
---
 fs/f2fs/segment.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index e78501c..71e4a0f 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -1658,7 +1658,7 @@ void f2fs_wait_on_encrypted_page_writeback(struct 
f2fs_sb_info *sbi,
 
        cpage = find_lock_page(META_MAPPING(sbi), blkaddr);
        if (cpage) {
-               f2fs_wait_on_page_writeback(cpage, DATA, true);
+               f2fs_wait_on_page_writeback(cpage, DATA, false);
                f2fs_put_page(cpage, 1);
        }
 }
-- 
1.9.1


------------------------------------------------------------------------------
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to