[GIT PULL] erofs updates for 5.17-rc1

Gao Xiang xiang at kernel.org
Mon Jan 10 13:33:09 AEDT 2022

Hi Linus,

Could you consider this pull request for 5.17-rc1?

In this cycle, tail-packing data inline for compressed files is now
supported so that tail pcluster can be stored and read together with
inode metadata in order to save data I/O and storage space.

In addition to that, to prepare for the upcoming subpage, folio and
fscache features, we also introduce meta buffers to get rid of
erofs_get_meta_page() since it was too close to the page itself.

Besides, in order to show supported kernel features and control sync
decompression strategy. new sysfs nodes are introduced in this
cycle as well.

All commits have been in -next and no merge conflicts.

Gao Xiang

The following changes since commit d58071a8a76d779eedab38033ae4c821c30295a5:

  Linux 5.16-rc3 (2021-11-28 14:09:19 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-5.17-rc1

for you to fetch changes up to 09c543798c3cde19aae575a0f76d5fc7c130ff18:

  erofs: use meta buffers for zmap operations (2022-01-04 23:47:36 +0800)

Changes since last update:

 - add sysfs interface and a sysfs node to control sync decompression;

 - add tail-packing inline support for compressed files;

 - get rid of erofs_get_meta_page().

Gao Xiang (10):
      erofs: Replace zero-length array with flexible-array member
      erofs: clean up erofs_map_blocks tracepoints
      erofs: tidy up z_erofs_lz4_decompress
      erofs: introduce z_erofs_fixup_insize
      erofs: support unaligned data decompression
      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

Huang Jianan (3):
      erofs: rename lz4_0pading to zero_padding
      erofs: add sysfs interface
      erofs: add sysfs node to control sync decompression strategy

Yue Hu (2):
      erofs: support inline data decompression
      erofs: add on-disk compressed tail-packing inline support

 Documentation/ABI/testing/sysfs-fs-erofs |  16 ++
 Documentation/filesystems/erofs.rst      |   8 +
 fs/erofs/Makefile                        |   2 +-
 fs/erofs/compress.h                      |   4 +-
 fs/erofs/data.c                          | 138 +++++++++++------
 fs/erofs/decompressor.c                  | 134 +++++++++-------
 fs/erofs/decompressor_lzma.c             |  19 +--
 fs/erofs/erofs_fs.h                      |  18 ++-
 fs/erofs/inode.c                         |  68 ++++----
 fs/erofs/internal.h                      |  52 ++++++-
 fs/erofs/super.c                         | 121 ++++++---------
 fs/erofs/sysfs.c                         | 256 +++++++++++++++++++++++++++++++
 fs/erofs/xattr.c                         | 135 +++++-----------
 fs/erofs/xattr.h                         |   1 -
 fs/erofs/zdata.c                         | 170 ++++++++++++++------
 fs/erofs/zdata.h                         |  24 ++-
 fs/erofs/zmap.c                          | 159 +++++++++++--------
 include/trace/events/erofs.h             |   4 +-
 18 files changed, 870 insertions(+), 459 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-fs-erofs
 create mode 100644 fs/erofs/sysfs.c

More information about the Linux-erofs mailing list