Skip to content

btrfs-progs: add encryption support

Sweet Tea Dorminy linux-btrfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 2 repliesIn review
  2. v18 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- updated to match new extent context format

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8btrfs-progs: add new FEATURE_INCOMPAT_ENCRYPT flagkernel-shared/ctree.h kernel-shared/uapi/btrfs.h+3 -10 replies
2/8btrfs-progs: start tracking extent encryption context infokernel-shared/accessors.h kernel-shared/fscrypt.h kernel-shared/tree-checker.c+56 -80 replies
3/8btrfs-progs: add inode encryption contextskernel-shared/uapi/btrfs_tree.h+10 -00 replies
4/8btrfs-progs: save and load fscrypt extent contextskernel-shared/uapi/btrfs_tree.h+5 -10 replies
5/8btrfs-progs: interpret encrypted file extents.check/main.c kernel-shared/print-tree.c+31 -10 replies
6/8btrfs-progs: handle fscrypt context itemskernel-shared/print-tree.c+18 -00 replies
7/8btrfs-progs: escape unprintable characters in nameskernel-shared/print-tree.c+16 -30 replies
8/8btrfs-progs: check: update inline extent length checkingcheck/main.c+12 -120 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJosef BacikNeal Gompa
SeriesR-b R-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/8] btrfs-progs: add encryption support

This is the progs side of the encryption feature [1]. The first four changes are attempts to replicate the relevant kernel changes precisely to the equivalents in kernel-shared; the next four add support to check and dump-tree.

[1] https://lore.kernel.org/linux-btrfs/[email protected]/

Changelog:
v2:
- updated to match new extent context format

v1:
- https://lore.kernel.org/linux-btrfs/[email protected]/

Sweet Tea Dorminy (8):
btrfs-progs: add new FEATURE_INCOMPAT_ENCRYPT flag
btrfs-progs: start tracking extent encryption context info
btrfs-progs: add inode encryption contexts
btrfs-progs: save and load fscrypt extent contexts
btrfs-progs: interpret encrypted file extents.
btrfs-progs: handle fscrypt context items
btrfs-progs: escape unprintable characters in names
btrfs-progs: check: update inline extent length checking

 check/main.c                    | 29 ++++++++-------
 kernel-shared/accessors.h       |  2 ++
 kernel-shared/ctree.h           |  3 +-
 kernel-shared/fscrypt.h         | 25 +++++++++++++
 kernel-shared/print-tree.c      | 64 +++++++++++++++++++++++++++++++--
 kernel-shared/tree-checker.c    | 37 ++++++++++++++-----
 kernel-shared/uapi/btrfs.h      |  1 +
 kernel-shared/uapi/btrfs_tree.h | 16 ++++++++-
 8 files changed, 151 insertions(+), 26 deletions(-)
 create mode 100644 kernel-shared/fscrypt.h

base-commit: 9a7c1226664ab3145f7382ffeae80770bd2d8d3a

Signature · 1 line
2.41.0