summaryrefslogtreecommitdiffstats
path: root/fs/udf/truncate.c
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2015-09-28 11:42:24 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2015-10-10 01:20:54 +0200
commit45fe8492ccbe561c4b8918c2d4c83a0501e50646 (patch)
tree2a4892de2fb741302a73483bd079b10ef7ad5729 /fs/udf/truncate.c
parentf2fs: fix to update {m,c}time correctly when truncating larger (diff)
downloadlinux-45fe8492ccbe561c4b8918c2d4c83a0501e50646.tar.xz
linux-45fe8492ccbe561c4b8918c2d4c83a0501e50646.zip
f2fs: fix to correct freed section number during gc
This patch fixes to maintain the right section count freed in garbage collecting when triggering a foreground gc. Besides, when a foreground gc is running on current selected section, once we fail to gc one segment, it's better to abandon gcing the left segments in current section, because anyway we will select next victim for foreground gc, so gc on the left segments in previous section will become overhead and also cause the long latency for caller. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/udf/truncate.c')
0 files changed, 0 insertions, 0 deletions