commit | 33af898bd3fd7053533a9c97b8a1bc558ba4a492 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Fri Jul 27 18:15:14 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Tue Sep 18 13:25:17 2018 -0700 |
tree | 8b92aaa0f738108154e1d2bef6bfab8367f2d116 | |
parent | f1eb3f91f17e359fa7f7068a53dc4abb10e6ef50 [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>