Re: [PATCH RERESEND v9 0/9] fs: interface for directly reading/writing compressed data
From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2021-05-17 21:33:09
Also in:
linux-api, linux-fsdevel
From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2021-05-17 21:33:09
Also in:
linux-api, linux-fsdevel
On Mon, May 17, 2021 at 11:35 AM Omar Sandoval [off-list ref] wrote:
Patches 1-3 add the VFS support, UAPI, and documentation. Patches 4-7 are Btrfs prep patches. Patch 8 adds Btrfs encoded read support and patch 9 adds Btrfs encoded write support.
I don't love the RWF_ENCODED flag, but if that's the way people think
this should be done, as a model this looks reasonable to me.
I'm not sure what the deal with the encryption metadata is. I realize
there is currently only one encryption type ("none") in this series,
but it's not clear how any other encryption type would actually ever
be described. It's not like you can pass in the key (well, I guess
passing in the key would be fine, but passing it back out certainly
would not be). A key ID from a keyring?
So there's presumably some future plan for it, but it would be good to
verify that that plan makes sense..
Linus