Skip to content

erofs: set block size to the on-disk block size

Jingbo Xu linux-erofs lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 2 repliesIn review
  2. v52 patches 3 repliesSuperseded
  3. v42 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v32 patches2 repliesSuperseded
v22 patches0 repliesSuperseded

Changes in v6 from the cover letter

- patch 1: calculate len of crc range correctly considering when blocksize <= EROFS_SUPER_OFFSET, i.e. blocksize is 512 or 1024 bytes (Gao Xiang)
- patch 2: remove sbi->dirblkbits for now (Gao Xiang)

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2erofs: avoid hardcoded blocksize for subpage block supportfs/erofs/data.c fs/erofs/decompressor.c fs/erofs/decompressor_lzma.c +11 more+137 -1321 reply
2/2erofs: set block size to the on-disk block sizefs/erofs/erofs_fs.h fs/erofs/inode.c fs/erofs/internal.h +1 more+35 -281 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchGao XiangYue HuChao Yu
1/2R-b R-b R-b
2/2R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v6 thread

Cover letter [PATCH v6 0/2] erofs: set block size to the on-disk block size

changes since v5:
- patch 1: calculate len of crc range correctly considering when blocksize <= EROFS_SUPER_OFFSET, i.e. blocksize is 512 or 1024 bytes (Gao Xiang)
- patch 2: remove sbi->dirblkbits for now (Gao Xiang)

changes since v4:
- patch 1: convert several remained call sites of sb->s_blocksize_bits to erofs_blknr() and erofs_pos() (Yue Hu)
- patch 2: revise comment for blkszbits and dirblkbits (Yue Hu)

changes since v3:
- patch 1: remove redundant newline when printing messages (Gao Xiang)
- patch 2: introduce dirblkbits in on-disk superblock and disable this feature for now, so that the current kernel won't break with the image with this feature enabled later (Gao Xiang)

v1: https://lore.kernel.org/all/[email protected]/
v2: https://lore.kernel.org/all/[email protected]/
v3: https://lore.kernel.org/all/[email protected]/
v4: https://lore.kernel.org/all/[email protected]/
v5: https://lore.kernel.org/all/[email protected]/

Jingbo Xu (2):
erofs: avoid hardcoded blocksize for subpage block support
erofs: set block size to the on-disk block size

 fs/erofs/data.c              | 50 +++++++++++++------------
 fs/erofs/decompressor.c      |  6 +--
 fs/erofs/decompressor_lzma.c |  4 +-
 fs/erofs/dir.c               | 22 +++++------
 fs/erofs/erofs_fs.h          |  5 ++-
 fs/erofs/fscache.c           |  5 ++-
 fs/erofs/inode.c             | 23 +++++++-----
 fs/erofs/internal.h          | 28 ++++----------
 fs/erofs/namei.c             | 14 +++----
 fs/erofs/super.c             | 72 ++++++++++++++++++++++--------------
 fs/erofs/xattr.c             | 40 ++++++++++----------
 fs/erofs/xattr.h             | 10 ++---
 fs/erofs/zdata.c             | 18 +++++----
 fs/erofs/zmap.c              | 29 ++++++++-------
 include/trace/events/erofs.h |  4 +-
 15 files changed, 171 insertions(+), 159 deletions(-)
Signature · 1 line
2.19.1.6.gb485710b