f2fs: wait for page writeback to provide stable pages
Subsystems (2)
PATCH 2/2 f2fs: wait for page writeback to provide stable pages
From: Namjae Jeon <[email protected]>
When stable pages are required, we have to wait if the page is just going to disk and we want to modify it. Add proper callback to f2fs_vm_page_mkwrite.
Signed-off-by Namjae Jeon <[email protected]>
Signed-off-by Amit Sahrawat <[email protected]>
Cc Darrick J. Wong <[email protected]>
--- fs/f2fs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/f2fs/file.c +1 -1
@@ -90,7 +90,7 @@ static int f2fs_vm_page_mkwrite(struct vm_area_struct *vma, mapped:/* fill the page */ -wait_on_page_writeback (page); +wait_for_stable_page (page); out:sb_end_pagefault (inode->i_sb);return block_page_mkwrite_return (err);
Signature · 1 line
1.7.9.5