[GIT PULL] erofs updates for 5.18-rc1

From: Gao Xiang
Date: Mon Mar 21 2022 - 03:46:16 EST


Hi Linus,

Could you consider this pull request for 5.18-rc1?

In this cycle, we continue converting to use meta buffers for all
remaining uncompressed paths to prepare for the upcoming subpage,
folio and fscache features.

We also fixed a double-free issue when sysfs initialization fails,
which was reported by syzbot.

Besides, in order for the userspace to control per-file timestamp
easier, we now switch to record mtime instead of ctime with a
compatible feature marked. And there are also some code cleanups
and documentation update as usual.

All commits have been in -next for a while and there is a minor
trivial merge conflict with folio -next tree [1].

Thanks,
Gao Xiang

[1] https://lore.kernel.org/r/20220315203112.03f6120c@xxxxxxxxxxxxxxxx

The following changes since commit ffb217a13a2eaf6d5bd974fc83036a53ca69f1e2:

Linux 5.17-rc7 (2022-03-06 14:28:31 -0800)

are available in the Git repository at:

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

for you to fetch changes up to a1108dcd9373a98f7018aa4310076260b8ecfc0b:

erofs: rename ctime to mtime (2022-03-17 23:41:14 +0800)

----------------------------------------------------------------
Changes since last update:

- Avoid using page structure directly for all uncompressed paths;

- Fix a double-free issue when sysfs initialization fails;

- Complete DAX description for erofs;

- Use mtime instead since there's no (easy) way for users to control
ctime;

- Several code cleanups.

----------------------------------------------------------------
David Anderson (1):
erofs: rename ctime to mtime

Dongliang Mu (1):
fs: erofs: add sanity check for kobject in erofs_unregister_sysfs

Gao Xiang (7):
erofs: get rid of `struct z_erofs_collector'
erofs: clean up preload_compressed_pages()
erofs: silence warnings related to impossible m_plen
erofs: clean up z_erofs_extent_lookback
erofs: refine managed inode stuffs
erofs: use meta buffers for reading directories
erofs: use meta buffers for inode lookup

Jeffle Xu (1):
erofs: use meta buffers for erofs_read_superblock()

lihongnan (1):
Documentation/filesystem/dax: update DAX description on erofs

Documentation/filesystems/dax.rst | 6 +-
Documentation/filesystems/erofs.rst | 2 +-
fs/erofs/data.c | 12 ++-
fs/erofs/dir.c | 21 ++--
fs/erofs/erofs_fs.h | 5 +-
fs/erofs/inode.c | 4 +-
fs/erofs/internal.h | 2 +
fs/erofs/namei.c | 54 +++++------
fs/erofs/super.c | 21 ++--
fs/erofs/sysfs.c | 8 +-
fs/erofs/zdata.c | 184 +++++++++++++++++-------------------
fs/erofs/zmap.c | 71 +++++++-------
12 files changed, 189 insertions(+), 201 deletions(-)