summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/namei.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2016-12-13 11:54:59 +0100
committerJaegeuk Kim <jaegeuk@kernel.org>2017-01-29 04:46:00 +0100
commit5c9e418436f3445d7cc4f3ba2964f231a4b33f17 (patch)
tree6978a3f3c2940f76d0db9ed0010e0429de36726e /fs/f2fs/namei.c
parentf2fs: remove unused values in recover_fsync_data (diff)
downloadlinux-5c9e418436f3445d7cc4f3ba2964f231a4b33f17.tar.xz
linux-5c9e418436f3445d7cc4f3ba2964f231a4b33f17.zip
f2fs: don't cache nat entry if out of memory
If we run out of memory, in cache_nat_entry, it's better to avoid loop for allocating memory to cache nat entry, so in low memory scenario, for read path of node block, I expect this can avoid unneeded latency. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/namei.c')
0 files changed, 0 insertions, 0 deletions