diff options
author | Chao Yu <yuchao0@huawei.com> | 2018-07-27 18:15:14 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-08-01 11:52:36 -0700 |
commit | 82cf4f132e6d16dca6fc3bd955019246141bc645 (patch) | |
tree | 393c07d89cb599448a064db0331a728f0ec8b39c /fs/f2fs/segment.c | |
parent | 18767e62639622554c3642a6e3f3b0ca19bc1d9d (diff) | |
download | op-kernel-dev-82cf4f132e6d16dca6fc3bd955019246141bc645.zip op-kernel-dev-82cf4f132e6d16dca6fc3bd955019246141bc645.tar.gz |
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>
Diffstat (limited to 'fs/f2fs/segment.c')
0 files changed, 0 insertions, 0 deletions