summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorZi Yan <ziy@nvidia.com>2026-09-20 22:28:03 -0400
committerAndrew Morton <akpm@linux-foundation.org>2026-10-08 22:55:15 -0700
commit7e907079f9a9220448d1c29f8da69dac139b26a1 (patch)
tree0aae23edb0b82fa7d215bfd5958c48072375f15c /include/linux/timerqueue.h
parentb2c1a445f87a553f04ccaefd4e700c7e404a70e5 (diff)
downloadlinux-7e907079f9a9220448d1c29f8da69dac139b26a1.tar.gz
linux-7e907079f9a9220448d1c29f8da69dac139b26a1.zip
f2fs: convert the ->private flag helpers to folio-only
page-based ->private flag helpers are used in the compression path, where large folios are not enabled. They can use folio versions with page_folio(). The two remaining users in data.c and segment.c can use fio->folio instead of fio->page (two are in a union). Drop page-based helpers after the conversion and rename PAGE_PRIVATE_{GET,SET,CLEAR}_FUNC() and the PAGE_PRIVATE_* flags to F2FS_FOLIO_PRIVATE_* to match. Convert the folio/page union from f2fs_io_info union to folio only, since no page user is left. The folio helpers do a plain read-modify-write where the page ones used set_bit()/clear_bit(). It is fine because the converted code either holds folio lock or, in f2fs_compress_write_end_io(), matches what the non-compressed code does in f2fs_write_end_bio(). Link: https://lore.kernel.org/20260920-remove-pg_private-v5-7-bb68b6a21869@nvidia.com Signed-off-by: Zi Yan <ziy@nvidia.com> Co-developed-by: David Hildenbrand (Arm) <david@kernel.org> Signed-off-by: David Hildenbrand (Arm) <david@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Suggested-by: Tal Zussman <tz2294@columbia.edu> Reviewed-by: Tal Zussman <tz2294@columbia.edu> Reviewed-by: Lance Yang <lance.yang@linux.dev> Reviewed-by: Chao Yu <chao@kernel.org> Assisted-by: LLM Cc: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions