diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-09-17 17:52:58 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-09-23 11:10:24 -0700 |
commit | 95dd89730119b97d82f9edc806757cef737703e5 (patch) | |
tree | 659e6547a14d2ab35db77e24564ccd6892398144 /fs/nls/nls_cp864.c | |
parent | 9b5f136fd41658f384a5b4ea49d8ef37036e15f5 (diff) |
f2fs: use more free segments until SSR is activated
Previously, f2fs activates SSR if the # of free segments reaches to the # of
overprovisioned segments.
In this case, SSR starts to use dirty segments only, so that the overprovisoned
space cannot be selected for new data.
This means that we have no chance to utilizae the overprovisioned space at all.
This patch fixes that by allowing LFS allocations until the # of free segments
reaches to the last threshold, reserved space.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/nls/nls_cp864.c')
0 files changed, 0 insertions, 0 deletions