commit | 5c9e418436f3445d7cc4f3ba2964f231a4b33f17 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Tue Dec 13 18:54:59 2016 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Sun Jan 29 12:46:00 2017 +0900 |
tree | 6978a3f3c2940f76d0db9ed0010e0429de36726e | |
parent | fed24668482e07421b8e746a4886e7725434050a [diff] |
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>