diff options
author | Chao Yu <yuchao0@huawei.com> | 2016-12-13 11:54:59 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-01-29 04:46:00 +0100 |
commit | 5c9e418436f3445d7cc4f3ba2964f231a4b33f17 (patch) | |
tree | 6978a3f3c2940f76d0db9ed0010e0429de36726e /fs/f2fs/namei.c | |
parent | f2fs: remove unused values in recover_fsync_data (diff) | |
download | linux-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