From: "Theodore Y. Ts'o" <tytso@mit.edu>
To: Eric Biggers <ebiggers@kernel.org>
Cc: linux-fscrypt@vger.kernel.org, linux-ext4@vger.kernel.org,
linux-f2fs-devel@lists.sourceforge.net,
linux-fsdevel@vger.kernel.org,
Satya Tangirala <satyat@google.com>,
Paul Crowley <paulcrowley@google.com>,
Paul Lawrence <paullawrence@google.com>,
Jaegeuk Kim <jaegeuk@kernel.org>
Subject: Re: [PATCH v2 2/3] ext4: add support for IV_INO_LBLK_64 encryption policies
Date: Tue, 5 Nov 2019 22:26:20 -0500 [thread overview]
Message-ID: <20191106032620.GF26959@mit.edu> (raw)
In-Reply-To: <20191024215438.138489-3-ebiggers@kernel.org>
On Thu, Oct 24, 2019 at 02:54:37PM -0700, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
>
> IV_INO_LBLK_64 encryption policies have special requirements from the
> filesystem beyond those of the existing encryption policies:
>
> - Inode numbers must never change, even if the filesystem is resized.
> - Inode numbers must be <= 32 bits.
> - File logical block numbers must be <= 32 bits.
>
> ext4 has 32-bit inode and file logical block numbers. However,
> resize2fs can re-number inodes when shrinking an ext4 filesystem.
>
> However, typically the people who would want to use this format don't
> care about filesystem shrinking. They'd be fine with a solution that
> just prevents the filesystem from being shrunk.
>
> Therefore, add a new feature flag EXT4_FEATURE_COMPAT_STABLE_INODES that
> will do exactly that. Then wire up the fscrypt_operations to expose
> this flag to fs/crypto/, so that it allows IV_INO_LBLK_64 policies when
> this flag is set.
>
> Signed-off-by: Eric Biggers <ebiggers@google.com>
LGTM
Acked-by: Theodore Ts'o <tytso@mit.edu>
- Ted
WARNING: multiple messages have this Message-ID (diff)
From: "Theodore Y. Ts'o" <tytso@mit.edu>
To: Eric Biggers <ebiggers@kernel.org>
Cc: linux-f2fs-devel@lists.sourceforge.net,
Satya Tangirala <satyat@google.com>,
Paul Lawrence <paullawrence@google.com>,
linux-fscrypt@vger.kernel.org, linux-fsdevel@vger.kernel.org,
Jaegeuk Kim <jaegeuk@kernel.org>,
linux-ext4@vger.kernel.org, Paul Crowley <paulcrowley@google.com>
Subject: Re: [f2fs-dev] [PATCH v2 2/3] ext4: add support for IV_INO_LBLK_64 encryption policies
Date: Tue, 5 Nov 2019 22:26:20 -0500 [thread overview]
Message-ID: <20191106032620.GF26959@mit.edu> (raw)
In-Reply-To: <20191024215438.138489-3-ebiggers@kernel.org>
On Thu, Oct 24, 2019 at 02:54:37PM -0700, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
>
> IV_INO_LBLK_64 encryption policies have special requirements from the
> filesystem beyond those of the existing encryption policies:
>
> - Inode numbers must never change, even if the filesystem is resized.
> - Inode numbers must be <= 32 bits.
> - File logical block numbers must be <= 32 bits.
>
> ext4 has 32-bit inode and file logical block numbers. However,
> resize2fs can re-number inodes when shrinking an ext4 filesystem.
>
> However, typically the people who would want to use this format don't
> care about filesystem shrinking. They'd be fine with a solution that
> just prevents the filesystem from being shrunk.
>
> Therefore, add a new feature flag EXT4_FEATURE_COMPAT_STABLE_INODES that
> will do exactly that. Then wire up the fscrypt_operations to expose
> this flag to fs/crypto/, so that it allows IV_INO_LBLK_64 policies when
> this flag is set.
>
> Signed-off-by: Eric Biggers <ebiggers@google.com>
LGTM
Acked-by: Theodore Ts'o <tytso@mit.edu>
- Ted
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
next prev parent reply other threads:[~2019-11-06 3:26 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-24 21:54 [PATCH v2 0/3] fscrypt: support for IV_INO_LBLK_64 policies Eric Biggers
2019-10-24 21:54 ` [f2fs-dev] " Eric Biggers
2019-10-24 21:54 ` [PATCH v2 1/3] fscrypt: add " Eric Biggers
2019-10-24 21:54 ` [f2fs-dev] " Eric Biggers
2019-10-29 17:47 ` Paul Crowley
2019-10-29 17:47 ` [f2fs-dev] " Paul Crowley via Linux-f2fs-devel
2019-11-06 3:35 ` Theodore Y. Ts'o
2019-11-06 3:35 ` [f2fs-dev] " Theodore Y. Ts'o
2019-11-06 4:05 ` Eric Biggers
2019-11-06 4:05 ` [f2fs-dev] " Eric Biggers
2019-11-07 2:49 ` Theodore Y. Ts'o
2019-11-07 2:49 ` [f2fs-dev] " Theodore Y. Ts'o
2019-10-24 21:54 ` [PATCH v2 2/3] ext4: add support for IV_INO_LBLK_64 encryption policies Eric Biggers
2019-10-24 21:54 ` [f2fs-dev] " Eric Biggers
2019-11-06 3:26 ` Theodore Y. Ts'o [this message]
2019-11-06 3:26 ` Theodore Y. Ts'o
2019-10-24 21:54 ` [PATCH v2 3/3] f2fs: " Eric Biggers
2019-10-24 21:54 ` [f2fs-dev] " Eric Biggers
2019-11-01 18:33 ` Jaegeuk Kim
2019-11-01 18:33 ` [f2fs-dev] " Jaegeuk Kim
2019-11-01 18:02 ` [PATCH v2 0/3] fscrypt: support for IV_INO_LBLK_64 policies Eric Biggers
2019-11-01 18:02 ` [f2fs-dev] " Eric Biggers
2019-11-06 21:04 ` Eric Biggers
2019-11-06 21:04 ` [f2fs-dev] " Eric Biggers
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=20191106032620.GF26959@mit.edu \
--to=tytso@mit.edu \
--cc=ebiggers@kernel.org \
--cc=jaegeuk@kernel.org \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-f2fs-devel@lists.sourceforge.net \
--cc=linux-fscrypt@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=paulcrowley@google.com \
--cc=paullawrence@google.com \
--cc=satyat@google.com \
/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.