Searched hist:"81 eb8d6e2869b119d4a7b8c02091c3779733a3ac" (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/fs/f2fs/ |
H A D | segment.h | diff 81eb8d6e2869b119d4a7b8c02091c3779733a3ac Wed Oct 23 23:31:34 CDT 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs: reclaim prefree segments periodically
Previously, f2fs postpones reclaiming prefree segments into free segments as much as possible. However, if user writes and deletes a bunch of data without any sync or fsync calls, some flash storages can suffer from garbage collections.
So, this patch adds the reclaiming codes to f2fs_write_node_pages and background GC thread.
If there are a lot of prefree segments, let's do checkpoint so that f2fs submits discard commands for the prefree regions to the flash storage.
Signed-off-by: Changman Lee <cm224.lee@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
|
H A D | gc.c | diff 81eb8d6e2869b119d4a7b8c02091c3779733a3ac Wed Oct 23 23:31:34 CDT 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs: reclaim prefree segments periodically
Previously, f2fs postpones reclaiming prefree segments into free segments as much as possible. However, if user writes and deletes a bunch of data without any sync or fsync calls, some flash storages can suffer from garbage collections.
So, this patch adds the reclaiming codes to f2fs_write_node_pages and background GC thread.
If there are a lot of prefree segments, let's do checkpoint so that f2fs submits discard commands for the prefree regions to the flash storage.
Signed-off-by: Changman Lee <cm224.lee@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
|
H A D | node.c | diff 81eb8d6e2869b119d4a7b8c02091c3779733a3ac Wed Oct 23 23:31:34 CDT 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs: reclaim prefree segments periodically
Previously, f2fs postpones reclaiming prefree segments into free segments as much as possible. However, if user writes and deletes a bunch of data without any sync or fsync calls, some flash storages can suffer from garbage collections.
So, this patch adds the reclaiming codes to f2fs_write_node_pages and background GC thread.
If there are a lot of prefree segments, let's do checkpoint so that f2fs submits discard commands for the prefree regions to the flash storage.
Signed-off-by: Changman Lee <cm224.lee@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
|
H A D | segment.c | diff 81eb8d6e2869b119d4a7b8c02091c3779733a3ac Wed Oct 23 23:31:34 CDT 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs: reclaim prefree segments periodically
Previously, f2fs postpones reclaiming prefree segments into free segments as much as possible. However, if user writes and deletes a bunch of data without any sync or fsync calls, some flash storages can suffer from garbage collections.
So, this patch adds the reclaiming codes to f2fs_write_node_pages and background GC thread.
If there are a lot of prefree segments, let's do checkpoint so that f2fs submits discard commands for the prefree regions to the flash storage.
Signed-off-by: Changman Lee <cm224.lee@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
|
H A D | f2fs.h | diff 81eb8d6e2869b119d4a7b8c02091c3779733a3ac Wed Oct 23 23:31:34 CDT 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs: reclaim prefree segments periodically
Previously, f2fs postpones reclaiming prefree segments into free segments as much as possible. However, if user writes and deletes a bunch of data without any sync or fsync calls, some flash storages can suffer from garbage collections.
So, this patch adds the reclaiming codes to f2fs_write_node_pages and background GC thread.
If there are a lot of prefree segments, let's do checkpoint so that f2fs submits discard commands for the prefree regions to the flash storage.
Signed-off-by: Changman Lee <cm224.lee@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
|