Skip to content

btrfs-progs: fscrypt updates

Daniel Vacek linux-btrfs linux-fscrypt lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 8 repliesIn review
  2. v28 patches 14 repliesSuperseded
  3. v18 patches 24 repliesSuperseded

Changes in v3 from the cover letter

* dropped first patch and improved inline extent length checking
* correctly squashed the context key definitions into "btrfs-progs: add inode encryption contexts"
* inline extents also show the encryption field now in tree dump

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7btrfs-progs: add new FEATURE_INCOMPAT_ENCRYPT flagkernel-shared/ctree.h kernel-shared/uapi/btrfs.h libbtrfsutil/btrfs.h+3 -00 replies
2/7btrfs-progs: start tracking extent encryption context infokernel-shared/tree-checker.c kernel-shared/uapi/btrfs_tree.h+16 -70 replies
3/7btrfs-progs: add inode encryption contextskernel-shared/uapi/btrfs_tree.h+5 -00 replies
4/7btrfs-progs: print encryptin type field of file extentscheck/main.c kernel-shared/print-tree.c+5 -32 replies
5/7btrfs-progs: handle fscrypt context itemscheck/main.c kernel-shared/print-tree.c+22 -00 replies
6/7btrfs-progs: check: update inline extent length checkingcheck/main.c+17 -143 replies
7/7btrfs-progs: recognize ENCRYPT inode item flagkernel-shared/print-tree.c+1 -00 replies

Reviews trailers per patch

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

PatchQu WenruoNeal Gompa
SeriesR-b R-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

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

Read the v3 thread

Cover letter [PATCH v3 0/7] btrfs-progs: fscrypt updates

This series is a rebase of an older set of fscrypt related changes from Sweet Tea Dorminy and Josef Bacik found here:
https://github.com/josefbacik/btrfs-progs/tree/fscrypt

It passed all my tests. Hopefully nothing blows. Enjoy testing.

v3:
* dropped first patch and improved inline extent length checking
* correctly squashed the context key definitions into "btrfs-progs: add inode encryption contexts"
* inline extents also show the encryption field now in tree dump

v2: https://lore.kernel.org/linux-btrfs/[email protected]/
* works with v7 of the kernel fscrypt series
* the on-disk format changed and parts of the series had to be reworked
- particularly the encryption context is now stored as dedicated item and not glued onto extent data item
* also parses the ENCRYPT inode item flag

Daniel Vacek (1):
btrfs-progs: recognize ENCRYPT inode item flag

Sweet Tea Dorminy (6):
btrfs-progs: add new FEATURE_INCOMPAT_ENCRYPT flag
btrfs-progs: start tracking extent encryption context info
btrfs-progs: add inode encryption contexts
btrfs-progs: print encryptin type field of file extents
btrfs-progs: handle fscrypt context items
btrfs-progs: check: update inline extent length checking

 check/main.c                    | 34 ++++++++++++++++++---------------
 kernel-shared/ctree.h           |  1 +
 kernel-shared/print-tree.c      | 28 +++++++++++++++++++++++++--
 kernel-shared/tree-checker.c    | 17 ++++++++++-------
 kernel-shared/uapi/btrfs.h      |  1 +
 kernel-shared/uapi/btrfs_tree.h | 11 +++++++++++
 libbtrfsutil/btrfs.h            |  1 +
 7 files changed, 69 insertions(+), 24 deletions(-)
Signature · 1 line
2.53.0