Hi Chao,
Can we add below to avoid this case?
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index 80f9863..c4f3db0 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -1695,6 +1695,7 @@ static int prepare_write_begin(struct f2fs_sb_info *sbi,
if (f2fs_has_inline_data(inode)) {
if (pos + len <= MAX_INLINE_DATA) {
+ dn.node_changed = true;
read_inline_data(page, ipage);
set_inode_flag(inode, FI_DATA_EXIST);
if (inode->i_nlink)
Thanks.
On 2017/2/25 8:59, Chao Yu wrote:
> Seems when there is a large number of dirty inline data in page cache, then
> trigger intensively writeback and CP can run out of free space?
------------------------------------------------------------------------------
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