f2fs: Remove readahead collision detection
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 14 Jan 2021 19:00:51 +0000 (19:00 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 27 Jan 2021 23:20:07 +0000 (15:20 -0800)
commit12699fb781574d50871ec6a4d96ac5e0f0ede03e
tree06235bd540571f0c4990fa66820e666893b03f3c
parentdeaa965fb01173478a1234f4305c71fffa4b5dc4
f2fs: Remove readahead collision detection

With the new ->readahead operation, locked pages are added to the page
cache, preventing two threads from racing with each other to read the
same chunk of file, so this is dead code.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/super.c