mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 17:32:32 +00:00
This partially reverts commit2ff1e97587. In addition to reverting the removal of PG_private_2 wrangling from the buffered read code[1][2], the removal of the waits for PG_private_2 from netfs_release_folio() and netfs_invalidate_folio() need reverting too. It also adds a wait into ceph_evict_inode() to wait for netfs read and copy-to-cache ops to complete. Fixes:2ff1e97587("netfs: Replace PG_fscache by setting folio->private and marking dirty") Signed-off-by: David Howells <[email protected]> Link: https://lore.kernel.org/r/[email protected] [1] Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8e5ced7804cb9184c4a23f8054551240562a8eda [2] Link: https://lore.kernel.org/r/[email protected] cc: Max Kellermann <[email protected]> cc: Ilya Dryomov <[email protected]> cc: Xiubo Li <[email protected]> cc: Jeff Layton <[email protected]> cc: Matthew Wilcox <[email protected]> cc: [email protected] cc: [email protected] cc: [email protected] cc: [email protected] Signed-off-by: Christian Brauner <[email protected]>