mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
ceph: use a folio in the inline read branch of ceph_filemap_fault()
Convert find_or_create_page() to __filemap_get_folio(), keeping the existing GFP constraint. Saves three calls to compound_head(). The __ceph_do_getattr() locked page plumbing is converted separately, so pass &folio->page for now. Signed-off-by: Tal Zussman <tz2294@columbia.edu> Reviewed-by: Alex Markuze <amarkuze@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
parent
4351961717
commit
303227111a
1 changed files with 12 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue