[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YLp35XvlTuuZrcYf@mit.edu>
Date: Fri, 4 Jun 2021 14:58:45 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: Jaegeuk Kim <jaegeuk@...nel.org>
Cc: Eric Biggers <ebiggers@...nel.org>,
Daniel Rosenberg <drosen@...gle.com>,
Chao Yu <chao@...nel.org>,
linux-f2fs-devel@...ts.sourceforge.net,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
Gabriel Krisman Bertazi <krisman@...labora.com>,
kernel-team@...roid.com, stable@...r.kernel.org
Subject: Re: [PATCH v2 2/2] f2fs: Advertise encrypted casefolding in sysfs
On Thu, Jun 03, 2021 at 10:38:48PM -0700, Jaegeuk Kim wrote:
> > Yes, but in the on-disk case, encrypted_casefold is redundant because it simply
> > means encrypt && casefold. There is no encrypted_casefold flag on-disk.
>
> I prefer to keep encrypted_casefold likewise kernel feature, which is more
> intuitive to users.
At least for ext4, there are kernel vesions which support encryption
and casefold *separetely*, but which do not support the file systems
that have encryption and casefold enabled simultaneously. This is why
I had added /sys/fs/ext4/features/encrypted_casefold. It was
originally not to indicate whether the on-disk file system supported
those features, but to indicate that the kernel in question supported
both features being enabled simultaneously.
- Ted
Powered by blists - more mailing lists