mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jingbo Xu <jefflexu@linux.alibaba.com>
To: xiang@kernel.org, chao@kernel.org, huyue2@coolpad.com,
	linux-erofs@lists.ozlabs.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH v6 0/2] erofs: set block size to the on-disk block size
Date: Mon, 13 Mar 2023 21:53:07 +0800	[thread overview]
Message-ID: <20230313135309.75269-1-jefflexu@linux.alibaba.com> (raw)

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/20230216094745.47868-1-jefflexu@linux.alibaba.com/
v2: https://lore.kernel.org/all/20230217055016.71462-2-jefflexu@linux.alibaba.com/
v3: https://lore.kernel.org/all/20230220025046.103777-1-jefflexu@linux.alibaba.com/
v4: https://lore.kernel.org/all/20230302143915.111739-1-jefflexu@linux.alibaba.com/
v5: https://lore.kernel.org/all/20230306100200.117684-1-jefflexu@linux.alibaba.com/


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(-)

-- 
2.19.1.6.gb485710b


             reply	other threads:[~2023-03-13 13:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-13 13:53 Jingbo Xu [this message]
2023-03-13 13:53 ` [PATCH v6 1/2] erofs: avoid hardcoded blocksize for subpage block support Jingbo Xu
2023-04-16 14:08   ` Chao Yu
2023-03-13 13:53 ` [PATCH v6 2/2] erofs: set block size to the on-disk block size Jingbo Xu
2023-04-16 14:09   ` Chao Yu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230313135309.75269-1-jefflexu@linux.alibaba.com \
    --to=jefflexu@linux.alibaba.com \
    --cc=chao@kernel.org \
    --cc=huyue2@coolpad.com \
    --cc=linux-erofs@lists.ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xiang@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®