Skip to content

fstests: introduce fscrypt support for btrfs

Daniel Vacek fstests linux-btrfs linux-ext4 linux-f2fs-devel linux-fscrypt linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12common/encrypt: separate data and inode noncescommon/encrypt tests/f2fs/002 tests/generic/613+29 -100 replies
2/12common/encrypt: add btrfs to get_encryption_*noncecommon/encrypt+23 -00 replies
3/12common/encrypt: add btrfs to get_ciphertext_filenamecommon/encrypt+17 -00 replies
4/12common/encrypt: enable making a encrypted btrfs filesystemcommon/encrypt+6 -00 replies
5/12common/verity: explicitly don't allow btrfs encryptioncommon/verity+4 -00 replies
6/12btrfs: add simple test of reflink of encrypted datatests/btrfs/613 tests/btrfs/613.out+67 -00 replies
7/12btrfs: test snapshotting encrypted subvoltests/btrfs/614 tests/btrfs/614.out+184 -00 replies
8/12fstests: properly test for v1 encryption policies in encrypt testscommon/encrypt tests/generic/593+3 -00 replies
9/12fstests: split generic/580 into two teststests/generic/580 tests/generic/580.out tests/generic/798 +1 more+171 -1080 replies
10/12fstests: split generic/581 into two teststests/generic/581 tests/generic/581.out tests/generic/799 +1 more+185 -1370 replies
11/12fstests: split generic/613 into two teststests/generic/613 tests/generic/613.out tests/generic/800 +1 more+136 -180 replies
12/12fscrypt-crypt-util: add support for per extent KDFcommon/encrypt src/fscrypt-crypt-util.c+20 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/12] fstests: introduce fscrypt support for btrfs

This is a rebase and cleanup of older patches [0] from Sweet Tea and Josef fixed to work with the recent kernel and btrfs-progs changes.

[0] https://github.com/btrfs/fstests/tree/fscrypt (227ac42)

Daniel Vacek (1):
fscrypt-crypt-util: add support for per extent KDF

Josef Bacik (4):
fstests: properly test for v1 encryption policies in encrypt tests
fstests: split generic/580 into two tests
fstests: split generic/581 into two tests
fstests: split generic/613 into two tests

Sweet Tea Dorminy (7):
common/encrypt: separate data and inode nonces common/encrypt: add btrfs to get_encryption_*nonce common/encrypt: add btrfs to get_ciphertext_filename common/encrypt: enable making a encrypted btrfs filesystem common/verity: explicitly don't allow btrfs encryption
btrfs: add simple test of reflink of encrypted data
btrfs: test snapshotting encrypted subvol

 common/encrypt           |  94 ++++++++++++++++++++++++----
 common/verity            |   4 ++
 src/fscrypt-crypt-util.c |  12 +++-
 tests/btrfs/613          |  54 ++++++++++++++++
 tests/btrfs/613.out      |  13 ++++
 tests/btrfs/614          |  73 ++++++++++++++++++++++
 tests/btrfs/614.out      | 111 ++++++++++++++++++++++++++++++++
 tests/f2fs/002           |   2 +-
 tests/generic/580        | 118 +++++++++++++++-------------------
 tests/generic/580.out    |  40 ------------
 tests/generic/581        |  89 +-------------------------
 tests/generic/581.out    |  50 ---------------
 tests/generic/593        |   1 +
 tests/generic/613        |  24 +++----
 tests/generic/613.out    |   5 +-
 tests/generic/798        |  77 +++++++++++++++++++++++
 tests/generic/798.out    |  44 +++++++++++++
 tests/generic/799        | 132 +++++++++++++++++++++++++++++++++++++++
 tests/generic/799.out    |  51 +++++++++++++++
 tests/generic/800        | 115 ++++++++++++++++++++++++++++++++++
 tests/generic/800.out    |  14 +++++
 21 files changed, 845 insertions(+), 278 deletions(-)
 create mode 100755 tests/btrfs/613
 create mode 100644 tests/btrfs/613.out
 create mode 100755 tests/btrfs/614
 create mode 100644 tests/btrfs/614.out
 create mode 100755 tests/generic/798
 create mode 100644 tests/generic/798.out
 create mode 100755 tests/generic/799
 create mode 100644 tests/generic/799.out
 create mode 100755 tests/generic/800
 create mode 100644 tests/generic/800.out
Signature · 1 line
2.53.0