summaryrefslogtreecommitdiff
path: root/fs/f2fs/gc.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-06-30 02:01:14 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2015-08-05 00:09:56 +0300
commit84bc926c076963d5b992640f5c8d242754801fd6 (patch)
tree449d6caa46fd24d069a06c8d70215d4013aa2d5b /fs/f2fs/gc.c
parent3e72f721390dc14e7b33fda812843c0725810106 (diff)
downloadlinux-84bc926c076963d5b992640f5c8d242754801fd6.tar.xz
f2fs: check the largest extent at look-up time
Because of the extent shrinker or other -ENOMEM scenarios, it cannot guarantee that the largest extent would be cached in the tree all the time. Instead of relying on extent_tree, we can simply check the cached one in extent tree accordingly. Reviewed-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/gc.c')
0 files changed, 0 insertions, 0 deletions