f2fs: fix to clear GCed flag for atomic written page
PATCH 1/3 f2fs: fix to clear GCed flag for atomic written page
Atomic write page can be GCed, after committing this kind of page, we should clear the GCed flag for it.
Signed-off-by Chao Yu <[email protected]>
--- fs/f2fs/segment.c | 1 + 1 file changed, 1 insertion(+)
fs/f2fs/segment.c +1 -0
@@ -253,6 +253,7 @@ int commit_inmem_pages(struct inode *inode, bool abort)unlock_page (cur->page);break ; } +clear_cold_data (cur->page); submit_bio = true; } }else {
Signature · 1 line
2.6.1