lkml.org 
[lkml]   [2021]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] erofs: get rid of erofs_get_meta_page()
Date
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

\
 
 \ /
  Last update: 2021-12-29 05:15    [W:0.144 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site