OrangePi_CM5/fs/f2fs
Matthew Wilcox (Oracle) 23f1fc7ce5 ext4,f2fs: fix readahead of verity data
commit 4fa0e3ff217f775cb58d2d6d51820ec519243fb9 upstream.

The recent change of page_cache_ra_unbounded() arguments was buggy in the
two callers, causing us to readahead the wrong pages.  Move the definition
of ractl down to after the index is set correctly.  This affected
performance on configurations that use fs-verity.

Link: https://lkml.kernel.org/r/20221012193419.1453558-1-willy@infradead.org
Fixes: 73bb49da50 ("mm/readahead: make page_cache_ra_unbounded take a readahead_control")
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reported-by: Jintao Yin <nicememory@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-11-10 18:14:29 +01:00
..
Kconfig
…
Makefile
…
acl.c
…
acl.h
…
checkpoint.c f2fs: fix to account FS_CP_DATA_IO correctly 2022-10-26 13:25:44 +02:00
compress.c f2fs: compress: fix to print raw data size in error path of lz4 decompression 2022-04-08 14:40:33 +02:00
data.c f2fs: fix to account FS_CP_DATA_IO correctly 2022-10-26 13:25:44 +02:00
debug.c
…
dir.c f2fs: reduce the scope of setting fsck tag when de->name_len is zero 2021-09-18 13:40:13 +02:00
extent_cache.c f2fs: fix race condition on setting FI_NO_EXTENT flag 2022-10-26 13:25:43 +02:00
f2fs.h f2fs: fix to account FS_CP_DATA_IO correctly 2022-10-26 13:25:44 +02:00
file.c f2fs: fix to remove F2FS_COMPR_FL and tag F2FS_NOCOMP_FL at the same time 2022-08-21 15:16:11 +02:00
gc.c f2fs: fix to do sanity check on summary info 2022-10-26 13:25:12 +02:00
gc.h
…
hash.c
…
inline.c f2fs: fix to do sanity check for inline inode 2022-06-09 10:21:21 +02:00
inode.c f2fs: fix to do sanity check for inline inode 2022-06-09 10:21:21 +02:00
namei.c f2fs: attach inline_data after setting compression 2022-06-29 08:59:51 +02:00
node.c f2fs: fix to avoid use f2fs_bug_on() in f2fs_new_node_page() 2022-08-25 11:38:21 +02:00
node.h
…
recovery.c f2fs: fix to do sanity check on summary info 2022-10-26 13:25:12 +02:00
segment.c f2fs: fix wrong condition to trigger background checkpoint correctly 2022-10-26 13:25:56 +02:00
segment.h f2fs: fix to do sanity check on total_data_blocks 2022-06-09 10:21:21 +02:00
shrinker.c
…
super.c f2fs: increase the limit for reserve_root 2022-10-26 13:25:12 +02:00
sysfs.c f2fs: fix to enable ATGC correctly via gc_idle sysfs interface 2022-04-08 14:40:03 +02:00
trace.c
…
trace.h
…
verity.c ext4,f2fs: fix readahead of verity data 2022-11-10 18:14:29 +01:00
xattr.c f2fs: fix to do sanity check on last xattr entry in __f2fs_setxattr() 2021-12-29 12:26:05 +01:00
xattr.h
…