[PATCH v7 0/7] btrfs: add fscrypt support, PART 1

Daniel Vacek posted 7 patches 1 week, 6 days ago
Only 6 patches received!
There is a newer version of this series
fs/btrfs/backref.c   | 68 +++++++++++++++++++++-----------------------
fs/btrfs/bio.c       | 10 +++++++
fs/btrfs/bio.h       |  2 ++
fs/btrfs/file-item.c |  2 +-
fs/btrfs/inode.c     |  4 +++
fs/btrfs/ioctl.c     | 27 +++---------------
fs/btrfs/reflink.c   |  7 +++++
fs/btrfs/verity.c    |  3 ++
8 files changed, 63 insertions(+), 60 deletions(-)
[PATCH v7 0/7] btrfs: add fscrypt support, PART 1
Posted by Daniel Vacek 1 week, 6 days ago
This is a revive of former work [1] of Omar, Sweet Tea and Josef to bring
native encryption support to btrfs.

It will come in more parts. The first part this time is splitting the simple
and isolated stuff out first to reduce the size of the final patchset.

Changes:
 * v7 - Drop the checksum patch for now. It will make more sense later.
      - Drop the btrfs/330 fix. It seems no longer needed after the years.
 * v6 vs v5 [1] is mostly rebase to the latest for-next and cleaning up the
   conflicts.

The remaining part needs further cleanup and a bit of redesign and it will
follow later.

[1] https://lore.kernel.org/linux-btrfs/cover.1706116485.git.josef@toxicpanda.com/

Josef Bacik (4):
  btrfs: add orig_logical to btrfs_bio
  btrfs: don't rewrite ret from inode_permission
  btrfs: move inode_to_path higher in backref.c
  btrfs: don't search back for dir inode item in INO_LOOKUP_USER

Omar Sandoval (1):
  btrfs: disable various operations on encrypted inodes

Sweet Tea Dorminy (1):
  btrfs: disable verity on encrypted inodes

 fs/btrfs/backref.c   | 68 +++++++++++++++++++++-----------------------
 fs/btrfs/bio.c       | 10 +++++++
 fs/btrfs/bio.h       |  2 ++
 fs/btrfs/file-item.c |  2 +-
 fs/btrfs/inode.c     |  4 +++
 fs/btrfs/ioctl.c     | 27 +++---------------
 fs/btrfs/reflink.c   |  7 +++++
 fs/btrfs/verity.c    |  3 ++
 8 files changed, 63 insertions(+), 60 deletions(-)

-- 
2.51.0
Re: [PATCH v7 0/7] btrfs: add fscrypt support, PART 1
Posted by Daniel Vacek 1 week, 6 days ago
Please, disregard this v7. I misconfigured my email. I'm sorry about the noise.

--nX

On Tue, 18 Nov 2025 at 17:01, Daniel Vacek <neelx@suse.com> wrote:
>
> This is a revive of former work [1] of Omar, Sweet Tea and Josef to bring
> native encryption support to btrfs.
>
> It will come in more parts. The first part this time is splitting the simple
> and isolated stuff out first to reduce the size of the final patchset.
>
> Changes:
>  * v7 - Drop the checksum patch for now. It will make more sense later.
>       - Drop the btrfs/330 fix. It seems no longer needed after the years.
>  * v6 vs v5 [1] is mostly rebase to the latest for-next and cleaning up the
>    conflicts.
>
> The remaining part needs further cleanup and a bit of redesign and it will
> follow later.
>
> [1] https://lore.kernel.org/linux-btrfs/cover.1706116485.git.josef@toxicpanda.com/
>
> Josef Bacik (4):
>   btrfs: add orig_logical to btrfs_bio
>   btrfs: don't rewrite ret from inode_permission
>   btrfs: move inode_to_path higher in backref.c
>   btrfs: don't search back for dir inode item in INO_LOOKUP_USER
>
> Omar Sandoval (1):
>   btrfs: disable various operations on encrypted inodes
>
> Sweet Tea Dorminy (1):
>   btrfs: disable verity on encrypted inodes
>
>  fs/btrfs/backref.c   | 68 +++++++++++++++++++++-----------------------
>  fs/btrfs/bio.c       | 10 +++++++
>  fs/btrfs/bio.h       |  2 ++
>  fs/btrfs/file-item.c |  2 +-
>  fs/btrfs/inode.c     |  4 +++
>  fs/btrfs/ioctl.c     | 27 +++---------------
>  fs/btrfs/reflink.c   |  7 +++++
>  fs/btrfs/verity.c    |  3 ++
>  8 files changed, 63 insertions(+), 60 deletions(-)
>
> --
> 2.51.0
>