Re: [PATCH 1/3] fscrypt: add support for inline-encryption-optimized policies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: "Theodore Y. Ts'o" <tytso@xxxxxxx>
- Subject: Re: [PATCH 1/3] fscrypt: add support for inline-encryption-optimized policies
- From: Eric Biggers <ebiggers@xxxxxxxxxx>
- Date: Tue, 22 Oct 2019 09:15:06 -0700
- In-reply-to: <20191022133001.GA23268@mit.edu>
- Mail-followup-to: "Theodore Y. Ts'o" <tytso@xxxxxxx>, Dave Chinner <david@xxxxxxxxxxxxx>, linux-fscrypt@xxxxxxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx, linux-f2fs-devel@xxxxxxxxxxxxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, Satya Tangirala <satyat@xxxxxxxxxx>, Paul Crowley <paulcrowley@xxxxxxxxxx>, Paul Lawrence <paullawrence@xxxxxxxxxx>, Jaegeuk Kim <jaegeuk@xxxxxxxxxx>
- References: <20191021230355.23136-1-ebiggers@kernel.org> <20191021230355.23136-2-ebiggers@kernel.org> <20191022052712.GA2083@dread.disaster.area> <20191022060004.GA333751@sol.localdomain> <20191022133001.GA23268@mit.edu>
- User-agent: Mutt/1.10.1 (2018-07-13)
On Tue, Oct 22, 2019 at 09:30:01AM -0400, Theodore Y. Ts'o wrote:
> > An alternative which would work nicely on ext4 and xfs (if xfs supported
> > fscrypt) would be to pass the physical block number as the DUN. However, that
> > wouldn't work at all on f2fs because f2fs moves data blocks around. And since
> > most people who want to use this are using f2fs, f2fs support is essential.
>
> And that is something fscrypt supports already, so if people really
> did want to use 64-bit logical block numbers, they could do that, at
> the cost of giving up the ability to shrink the file system (which XFS
> doesn't support anyway....)
I was talking about the physical block number (offset from the start of the
filesystem -- ext4_fsblk_t on ext4), not the file logical block number (offset
in the file data -- ext4_lblk_t on ext4). fscrypt doesn't currently support
using the physical block number.
- Eric
[Index of Archives]
[linux Cryptography]
[Asterisk App Development]
[PJ SIP]
[Gnu Gatekeeper]
[IETF Sipping]
[Info Cyrus]
[ALSA User]
[Fedora Linux Users]
[Linux SCTP]
[DCCP]
[Gimp]
[Yosemite News]
[Deep Creek Hot Springs]
[Yosemite Campsites]
[ISDN Cause Codes]