Signed-off-by: Hou Pengyang <[email protected]>
---
fs/f2fs/data.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index 075d159..e41f5ed 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -1381,6 +1381,13 @@ int do_write_data_page(struct f2fs_io_info *fio)
ClearPageUptodate(page);
goto out_writepage;
}
+
+ if (valid_ipu_blkaddr(fio) && need_inplace_update(fio)) {
+ ipu_force = true;
+ fio->need_lock = false;
+ goto got_it;
+ }
+ /* If NOT IPU, we should unlock node_page for cp */
unlock_page(dn.node_page);
dn.node_page_locked = false;
} else
--
2.10.1
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel