All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Baokun Li" <libaokun@linux.alibaba.com>
Cc: linux-ext4@vger.kernel.org, tytso@mit.edu
Subject: Re: [PATCH 4/4] ext4: allow large folios and bs > ps encryption
Date: Tue, 03 Nov 2026 15:42:02 +0000	[thread overview]
Message-ID: <sashiko-outbox-195636@kernel.org> (raw)
In-Reply-To: <20261103153132.4154855-5-libaokun@linux.alibaba.com>

> ext4 refuses encryption when the block size exceeds the page size
> in three places: at mount time (ext4_check_large_folio()),
> in ext4_set_context(), and in __ext4_iget().
> 
> Sub-block data units are now enabled by default, so encryption
> works on a filesystem whose block size exceeds the page size.
> Remove the three checks; stable trees should keep them and
> not backport this feature.
> 
> ext4_set_max_mapping_order() now runs on every mount, and
> the preceding patch routes a folio that crosses a DUN wraparound
> to the buffer_head path. Encrypted files therefore get the same
> large folio orders as unencrypted files, including when block size
> is larger than page size.
> 
> Signed-off-by: Baokun Li <libaokun@linux.alibaba.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261103153132.4154855-1-libaokun@linux.alibaba.com?part=4


      reply	other threads:[~2026-11-03 15:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-03 15:31 [PATCH 0/4] ext4: support encryption with block size larger than page size Baokun Li
2026-11-03 15:31 ` [PATCH 1/4] fscrypt: Cap data units at the " Baokun Li
2026-11-03 15:44   ` sashiko-bot
2026-11-03 22:40   ` Eric Biggers
2026-11-04  2:31     ` Baokun Li
2026-11-04 19:51       ` Eric Biggers
2026-11-05 16:37         ` Baokun Li
2026-11-03 15:31 ` [PATCH 2/4] fscrypt: Validate the test_dummy_encryption policy for new inodes Baokun Li
2026-11-03 15:45   ` sashiko-bot
2026-11-03 15:31 ` [PATCH 3/4] ext4: don't put a DUN wraparound in the middle of a read bio Baokun Li
2026-11-03 15:40   ` sashiko-bot
2026-11-03 15:31 ` [PATCH 4/4] ext4: allow large folios and bs > ps encryption Baokun Li
2026-11-03 15:42   ` sashiko-bot [this message]

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=sashiko-outbox-195636@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=libaokun@linux.alibaba.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=tytso@mit.edu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.