* [PATCH 1/3] f2fs: fix to clear GCed flag for atomic written page
@ 2015-10-22 10:18 Chao Yu
0 siblings, 0 replies; only message in thread
From: Chao Yu @ 2015-10-22 10:18 UTC (permalink / raw)
To: Jaegeuk Kim; +Cc: linux-f2fs-devel, linux-kernel
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 <chao2.yu@samsung.com>
---
fs/f2fs/segment.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index 7efd96ad..f77b325 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -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 {
--
2.6.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-10-22 10:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-22 10:18 [PATCH 1/3] f2fs: fix to clear GCed flag for atomic written page Chao Yu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome