ceph: Convert ceph_readdir_cache_control to store a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 17 Feb 2025 18:51:12 +0000 (18:51 +0000)
committerChristian Brauner <brauner@kernel.org>
Fri, 28 Feb 2025 10:21:30 +0000 (11:21 +0100)
commitbaff9740bc8f1a48aba694ac17d5a026b34982de
treeefb5358e88f129bf93352b7637ecb344f7e4ad90
parentf9707a8b5b9d0a631e0a64eab5c3d2bb6d43758c
ceph: Convert ceph_readdir_cache_control to store a folio

Pass a folio around instead of a page.  This removes an access to
page->index and a few hidden calls to compound_head().

Signed-off-by: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Link: https://lore.kernel.org/r/20250217185119.430193-5-willy@infradead.org
Tested-by: Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>
Reviewed-by: Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/ceph/dir.c
fs/ceph/inode.c
fs/ceph/super.h