summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/node.c
diff options
context:
space:
mode:
authorYunlong Song <yunlong.song@huawei.com>2017-09-23 17:02:18 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2017-10-10 12:49:51 -0700
commit91f4382b50ee9954f5dad459803200ca2a8bd6fb (patch)
tree4f7230f3c1465f4303c15420e2480083026005a2 /fs/f2fs/node.c
parent7056964a85031f42e2360617b14272593729ce1b (diff)
downloadlinux-91f4382b50ee9954f5dad459803200ca2a8bd6fb.tar.gz
linux-91f4382b50ee9954f5dad459803200ca2a8bd6fb.tar.bz2
linux-91f4382b50ee9954f5dad459803200ca2a8bd6fb.zip
Revert "f2fs: node segment is prior to data segment selected victim"
This reverts commit b9cd20619e359d199b755543474c3d853c8e3415. That patch causes much fewer node segments (which can be used for SSR) than before, and in the corner case (e.g. create and delete *.txt files in one same directory, there will be very few node segments but many data segments), if the reserved free segments are all used up during gc, then the write_checkpoint can still flush dentry pages to data ssr segments, but will probably fail to flush node pages to node ssr segments, since there are not enough node ssr segments left (the left ones are all full). So revert this patch to give a fair chance to let node segments remain for SSR, which provides more robustness for corner cases. Conflicts: fs/f2fs/gc.c Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/node.c')
0 files changed, 0 insertions, 0 deletions