Re: fscache corruption in Linux 5.17?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2022/04/19 17:56, David Howells <dhowells@xxxxxxxxxx> wrote:
> This is weird.  It looks like content got slid down by 31 bytes and 31 zero
> bytes got added at the end.  I'm not sure how fscache would achieve that -
> nfs's implementation should only be dealing with pages.

Did you read this part of my email?:

On 2022/04/12 17:10, Max Kellermann <max@xxxxxxxxxxxxxxxx-ag> wrote:
> The corruption can be explained by WordPress commit
> https://github.com/WordPress/WordPress/commit/07855db0ee8d5cff2 which
> makes the file 31 bytes longer (185055 -> 185086).  The "broken" web
> server sees the new contents until offset 184320 (= 45 * 4096), but
> sees the old contents from there on; followed by 31 null bytes
> (because the kernel reads past the end of the cache?).

My theory was that fscache shows a mix of old and new pages after the
file was modified.  Does this make sense?

Is there anything I can do to give you data from this server's cache?



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux