mirror of
https://github.com/torvalds/linux
synced 2024-10-15 15:59:15 +00:00
08bab74ae6
Migration replaces the page in the mapping before copying the contents and
the flags over from the old page, so check that the page in the page cache
is really up to date before using it. Without this, stressing squashfs
reads with parallel compaction sometimes results in squashfs reporting
data corruption.
Link: https://lkml.kernel.org/r/20230629-squashfs-cache-migration-v1-1-d50ebe55099d@axis.com
Fixes:
|
||
---|---|---|
.. | ||
block.c | ||
cache.c | ||
decompressor.c | ||
decompressor.h | ||
decompressor_multi.c | ||
decompressor_multi_percpu.c | ||
decompressor_single.c | ||
dir.c | ||
export.c | ||
file.c | ||
file_cache.c | ||
file_direct.c | ||
fragment.c | ||
id.c | ||
inode.c | ||
Kconfig | ||
lz4_wrapper.c | ||
lzo_wrapper.c | ||
Makefile | ||
namei.c | ||
page_actor.c | ||
page_actor.h | ||
squashfs.h | ||
squashfs_fs.h | ||
squashfs_fs_i.h | ||
squashfs_fs_sb.h | ||
super.c | ||
symlink.c | ||
xattr.c | ||
xattr.h | ||
xattr_id.c | ||
xz_wrapper.c | ||
zlib_wrapper.c | ||
zstd_wrapper.c |