From: Daniel Rosenberg <drosen@google.com>
To: "Theodore Y . Ts'o" <tytso@mit.edu>,
Eric Biggers <ebiggers@kernel.org>,
Andreas Dilger <adilger.kernel@dilger.ca>,
linux-ext4@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
Gabriel Krisman Bertazi <krisman@collabora.com>,
kernel-team@android.com, Daniel Rosenberg <drosen@google.com>
Subject: [PATCH 0/2] Reconcile Encryption and Casefolding in Ext4
Date: Wed, 3 Feb 2021 09:07:43 +0000 [thread overview]
Message-ID: <20210203090745.4103054-1-drosen@google.com> (raw)
These patches add support for ext4 encryption and casefolding at the same time.
Since the hash for encrypted casefolded directory names cannot be computed
without the key, we need to store the hash on disk. We only do so for encrypted
and casefolded directories to avoid on disk format changes.
e2fsprogs has already been updated with support for casefolding and encryption.
Daniel Rosenberg (2):
ext4: Handle casefolding with encryption
ext4: Optimize match for casefolded encrypted dirs
Documentation/filesystems/ext4/directory.rst | 27 ++
fs/ext4/dir.c | 46 ++-
fs/ext4/ext4.h | 79 +++--
fs/ext4/hash.c | 25 +-
fs/ext4/ialloc.c | 5 +-
fs/ext4/inline.c | 41 +--
fs/ext4/namei.c | 323 +++++++++++++------
fs/ext4/super.c | 6 -
8 files changed, 391 insertions(+), 161 deletions(-)
base-commit: e9f53353e166a67dfe4f8295100f8ac39d6cf10b
--
2.30.0.365.g02bc693789-goog
next reply other threads:[~2021-02-03 9:11 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-03 9:07 Daniel Rosenberg [this message]
2021-02-03 9:07 ` [PATCH 1/2] ext4: Handle casefolding with encryption Daniel Rosenberg
[not found] ` <56BC7E2D-A303-45AE-93B6-D8921189F604@dilger.ca>
2021-02-03 16:31 ` Theodore Ts'o
2021-02-09 23:22 ` Theodore Ts'o
2021-02-10 3:03 ` Andreas Dilger
2021-02-10 4:03 ` Theodore Ts'o
2021-02-17 4:01 ` Daniel Rosenberg
2021-02-17 16:08 ` Theodore Ts'o
2021-02-17 22:48 ` Andreas Dilger
2021-02-18 23:21 ` Daniel Rosenberg
2021-02-26 5:14 ` Andreas Dilger
2021-02-19 15:21 ` Theodore Ts'o
2021-02-03 9:07 ` [PATCH 2/2] ext4: Optimize match for casefolded encrypted dirs Daniel Rosenberg
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=20210203090745.4103054-1-drosen@google.com \
--to=drosen@google.com \
--cc=adilger.kernel@dilger.ca \
--cc=ebiggers@kernel.org \
--cc=kernel-team@android.com \
--cc=krisman@collabora.com \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--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.