[RFC PATCH 0/9] Introduce set/clear_fs_page_private to cleanup code
From: Guoqing Jiang
Date: Sun Apr 26 2020 - 17:50:21 EST
Hi,
Based on the previous thread [1], this patchset introduces set_fs_page_private
and clear_fs_page_private to replace attach_page_buffers and __clear_page_buffers.
Thanks a lot for the constructive suggestion from Matthew and Dave.
And sorry for cross post to different lists since it modifies different subsystems.
[1]. https://lore.kernel.org/linux-fsdevel/20200420221424.GH5820@xxxxxxxxxxxxxxxxxxxxxx/
Thanks,
Guoqing
Guoqing Jiang (9):
include/linux/pagemap.h: introduce set/clear_fs_page_private
md: remove __clear_page_buffers and use set/clear_fs_page_private
btrfs: use set/clear_fs_page_private
fs/buffer.c: use set/clear_fs_page_private
f2fs: use set/clear_fs_page_private
iomap: use set/clear_fs_page_private
ntfs: replace attach_page_buffers with set_fs_page_private
orangefs: use set/clear_fs_page_private
buffer_head.h: remove attach_page_buffers
drivers/md/md-bitmap.c | 12 ++----------
fs/btrfs/disk-io.c | 4 +---
fs/btrfs/extent_io.c | 21 ++++++---------------
fs/btrfs/inode.c | 17 ++++-------------
fs/buffer.c | 16 ++++------------
fs/f2fs/f2fs.h | 11 ++---------
fs/iomap/buffered-io.c | 14 +++-----------
fs/ntfs/aops.c | 2 +-
fs/ntfs/mft.c | 2 +-
fs/orangefs/inode.c | 24 ++++++------------------
include/linux/buffer_head.h | 8 --------
include/linux/pagemap.h | 22 ++++++++++++++++++++++
12 files changed, 52 insertions(+), 101 deletions(-)
--
2.17.1