[GIT PULL] erofs update for 5.11-rc1

Gao Xiang hsiangkao at redhat.com
Tue Dec 15 21:08:55 AEDT 2020


Hi Linus,

Could you consider this pull request for 5.11-rc1?

This cycle we'd like to get rid of magical page->mapping type marks
for temporary pages which had some concern before, now such usage
is replaced with specific page->private. Also switch to inplace I/O
instead of allocating extra cached pages to avoid direct reclaim
under low memory scenario. There are some bmap bugfix and minor
cleanups as well.

All commits have been tested and have been in linux-next for a while.
This merges cleanly with master.

[ Additionally, there is another lz4 inplace decompression fix [1] due
  to some different overlapped memcpy() implementation which was reviewed
  and added to akpm tree, hopefully upstream for this 5.11 cycle too. ]

Thanks,
Gao Xiang

[1] https://lore.kernel.org/r/20201122030749.2698994-1-hsiangkao@redhat.com 

The following changes since commit 0477e92881850d44910a7e94fc2c46f96faa131f:

  Linux 5.10-rc7 (2020-12-06 14:25:12 -0800)

are available in the Git repository at:

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

for you to fetch changes up to d8b3df8b1048405e73558b88cba2adf29490d468:

  erofs: avoid using generic_block_bmap (2020-12-10 11:07:40 +0800)

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

 - get rid of magical page->mapping type marks;

 - switch to inplace I/O under low memory scenario;

 - return the correct block number for bmap();

 - some minor cleanups.

----------------------------------------------------------------
Gao Xiang (4):
      erofs: get rid of magical Z_EROFS_MAPPING_STAGING
      erofs: insert to managed cache after adding to pcl
      erofs: simplify try_to_claim_pcluster()
      erofs: force inplace I/O under low memory scenario

Huang Jianan (1):
      erofs: avoid using generic_block_bmap

Vladimir Zapolskiy (1):
      erofs: remove a void EROFS_VERSION macro set in Makefile

 fs/erofs/Makefile       |   5 --
 fs/erofs/compress.h     |  54 +++++++++++----
 fs/erofs/data.c         |  26 ++------
 fs/erofs/decompressor.c |   2 +-
 fs/erofs/zdata.c        | 172 ++++++++++++++++++++++++++++--------------------
 fs/erofs/zdata.h        |   1 +
 6 files changed, 149 insertions(+), 111 deletions(-)



More information about the Linux-erofs mailing list