summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorTal Zussman <tz2294@columbia.edu>2026-09-24 19:42:16 -0400
committerMiklos Szeredi <mszeredi@redhat.com>2026-10-15 15:45:22 +0200
commitb8ada80b9d6909c2fdb43f05cdd0ac3133ea776d (patch)
treee956699789cb32710c9e5f66de8144a93c046545 /tools/lib/python/kdoc
parent1428be3d84d2a1036f4a97cef4e9362e24995e77 (diff)
fuse: convert fuse_add_dirent_to_cache() to use folios
Replace find_lock_page() and find_or_create_page() with filemap_lock_folio() and filemap_grab_folio(), and switch the remaining page helpers to their folio equivalents. Each index of the readdir cache holds one page of dirents. fuse does not enable large folios, so these folios are always a single page. Also write the dirent with folio_fill_tail() and memcpy_to_folio() instead of open-coding it. This removes two hidden calls to compound_head() and one of the last callers of find_lock_page(). Signed-off-by: Tal Zussman <tz2294@columbia.edu> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions