diff options
| author | 2026-09-02 12:35:10 -0400 | |
|---|---|---|
| committer | 2026-10-26 14:15:47 +0100 | |
| commit | 41049e89df285ef9e3860481fdb3c01f301d6184 (patch) | |
| tree | f3201eae12d2354dd80f60ac72ee00584927fe22 /scripts/Makefile.thinlto | |
| parent | ceph: use a folio in the READ_INLINE path of ceph_read_iter() (diff) | |
ceph: convert ceph_fill_inline_data() to take a folio
Convert the internals to folio APIs and pass a folio in from
ceph_fill_inode(). The kmap_atomic()/memcpy() pair becomes
memcpy_to_folio(), which also flushes the dcache, so drop the explicit
flush from the folio creation path. When a locked folio is passed in,
the callers flush after filling it, so the flush in memcpy_to_folio()
is redundant there, but harmless.
This removes the last caller of find_or_create_page() in ceph and saves
six calls to compound_head(). The page_folio() call added in
ceph_fill_inode() goes away once the locked page plumbing is converted.
Remove extern from the function declaration while at it.
Signed-off-by: Tal Zussman <tz2294@columbia.edu>
Reviewed-by: Alex Markuze <amarkuze@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
