All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] erofs: get rid of erofs_get_meta_page()
@ 2021-12-29  4:14 ` Gao Xiang
  0 siblings, 0 replies; 28+ messages in thread
From: Gao Xiang @ 2021-12-29  4:14 UTC (permalink / raw)
  To: linux-erofs, Chao Yu, Liu Bo; +Cc: Gao Xiang, LKML

Hi folks,

erofs_get_meta_page() is actually inflexible since it's too
close to the page itself.

In order to prepare for folio and subpage features, introduce
on-stack meta buffer descriptor instead and convert all
erofs_get_meta_page() users to use it.

It can also be used for new potential backends such as fscache or mtd.

Patches are trivial.

Thanks,
Gao Xiang

Gao Xiang (5):
  erofs: introduce meta buffer operations
  erofs: use meta buffers for inode operations
  erofs: use meta buffers for super operations
  erofs: use meta buffers for xattr operations
  erofs: use meta buffers for zmap operations

 fs/erofs/data.c     | 102 +++++++++++++++++++++++++-----------
 fs/erofs/inode.c    |  68 ++++++++++++------------
 fs/erofs/internal.h |  22 ++++++--
 fs/erofs/super.c    | 105 ++++++++++---------------------------
 fs/erofs/xattr.c    | 123 +++++++++++++-------------------------------
 fs/erofs/zdata.c    |  23 ++++-----
 fs/erofs/zmap.c     |  56 ++++++--------------
 7 files changed, 211 insertions(+), 288 deletions(-)

-- 
2.24.4


^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2022-01-06 16:41 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-29  4:14 [PATCH 0/5] erofs: get rid of erofs_get_meta_page() Gao Xiang
2021-12-29  4:14 ` Gao Xiang
2021-12-29  4:14 ` [PATCH 1/5] erofs: introduce meta buffer operations Gao Xiang
2021-12-29  4:14   ` Gao Xiang
2021-12-29  4:14 ` [PATCH 2/5] erofs: use meta buffers for inode operations Gao Xiang
2021-12-29  4:14   ` Gao Xiang
2021-12-30  4:05   ` Yue Hu
2021-12-30  4:05     ` Yue Hu
2021-12-29  4:14 ` [PATCH 3/5] erofs: use meta buffers for super operations Gao Xiang
2021-12-29  4:14   ` Gao Xiang
2021-12-30  4:11   ` Yue Hu
2021-12-30  4:11     ` Yue Hu
2021-12-30 22:49   ` kernel test robot
2022-01-06 15:08     ` Dan Carpenter
2022-01-06 15:08     ` Dan Carpenter
2022-01-06 15:08     ` Dan Carpenter
2022-01-06 16:40     ` Gao Xiang
2022-01-06 16:40       ` Gao Xiang
2022-01-06 16:40       ` Gao Xiang
2021-12-29  4:14 ` [PATCH 4/5] erofs: use meta buffers for xattr operations Gao Xiang
2021-12-29  4:14   ` Gao Xiang
2021-12-30  4:14   ` Gao Xiang
2021-12-29  4:14 ` [PATCH 5/5] erofs: use meta buffers for zmap operations Gao Xiang
2021-12-29  4:14   ` Gao Xiang
2021-12-29  5:19   ` Yue Hu
2021-12-29  5:19     ` Yue Hu
2021-12-29  5:28     ` Gao Xiang
2021-12-29  5:28       ` Gao Xiang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.