diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-06-29 16:01:14 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-08-04 14:09:56 -0700 |
commit | 84bc926c076963d5b992640f5c8d242754801fd6 (patch) | |
tree | 449d6caa46fd24d069a06c8d70215d4013aa2d5b /fs/f2fs/gc.c | |
parent | 3e72f721390dc14e7b33fda812843c0725810106 (diff) | |
download | talos-obmc-linux-84bc926c076963d5b992640f5c8d242754801fd6.tar.gz talos-obmc-linux-84bc926c076963d5b992640f5c8d242754801fd6.zip |
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