commit | 82cf4f132e6d16dca6fc3bd955019246141bc645 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Fri Jul 27 18:15:14 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Aug 01 11:52:36 2018 -0700 |
tree | 393c07d89cb599448a064db0331a728f0ec8b39c | |
parent | 18767e62639622554c3642a6e3f3b0ca19bc1d9d [diff] |
f2fs: fix to active page in lru list for read path If config CONFIG_F2FS_FAULT_INJECTION is on, for both read or write path we will call find_lock_page() to get the page, but for read path, it missed to passing FGP_ACCESSED to allocator to active the page in LRU list, result in being reclaimed in advance incorrectly, fix it. Reported-by: Xianrong Zhou <zhouxianrong@huawei.com> Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>