Skip to content

fstests: fscrypt test updates

Josef Bacik fstests linux-btrfs linux-fscrypt 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 18 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 -102 replies
2/12common/encrypt: add btrfs to get_encryption_*noncecommon/encrypt+31 -01 reply
3/12common/encrypt: add btrfs to get_ciphertext_filenamecommon/encrypt+16 -01 reply
4/12common/encrypt: enable making a encrypted btrfs filesystemcommon/encrypt+6 -01 reply
5/12common/verity: explicitly don't allow btrfs encryptioncommon/verity+4 -01 reply
6/12btrfs: add simple test of reflink of encrypted datatests/btrfs/613 tests/btrfs/613.out+72 -01 reply
7/12btrfs: test snapshotting encrypted subvoltests/btrfs/614 tests/btrfs/614.out+187 -04 replies
8/12fstests: properly test for v1 encryption policies in encrypt testscommon/encrypt tests/generic/593+3 -02 replies
9/12fstests: split generic/580 into two teststests/generic/580 tests/generic/580.out tests/generic/733 +1 more+173 -1083 replies
10/12fstests: split generic/581 into two teststests/generic/581 tests/generic/581.out tests/generic/734 +1 more+188 -1370 replies
11/12fstests: split generic/613 into two teststests/generic/613 tests/generic/613.out tests/generic/735 +1 more+138 -180 replies
12/12fstest: add a fsstress+fscrypt testtests/generic/736 tests/generic/736.out+41 -02 replies

Reviews trailers per patch

8 of 12 patches have a Reviewed-by or Acked-by.

PatchAnand Jain
1/12R-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12
7/12R-b
8/12R-b
9/12
10/12
11/12
12/12R-b

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

Read the v1 thread

Cover letter [PATCH 00/12] fstests: fscrypt test updates

Hello,

Btrfs is adding fscrypt support, and thus requires a variety of changes to the current fscrypt tests and infrastructure, as well as adding a few extra tests.

The bulk of the changes to the existing tests is simply breaking the v1 and v2 policy tests into two different tests, as btrfs will only support v2 policies. The infrastructure related work is around pulling the nonce's out of the file system in order to support the different nonce/decryption related checks.

And finally there are 3 new tests, two around reflinks and snapshots and then a generic fsstress test.

I've tested these with ext4 and btrfs (with our patches) to make sure everything works properly. Thanks,

Josef

Josef Bacik (5):
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
fstest: add a fsstress+fscrypt test

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        |  88 ++++++++++++++++++++++++---
 common/verity         |   4 ++
 tests/btrfs/613       |  59 ++++++++++++++++++
 tests/btrfs/613.out   |  13 ++++
 tests/btrfs/614       |  76 ++++++++++++++++++++++++
 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/733     |  79 ++++++++++++++++++++++++
 tests/generic/733.out |  44 ++++++++++++++
 tests/generic/734     | 135 ++++++++++++++++++++++++++++++++++++++++++
 tests/generic/734.out |  51 ++++++++++++++++
 tests/generic/735     | 117 ++++++++++++++++++++++++++++++++++++
 tests/generic/735.out |  14 +++++
 tests/generic/736     |  38 ++++++++++++
 tests/generic/736.out |   3 +
 22 files changed, 888 insertions(+), 273 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 100644 tests/generic/733
 create mode 100644 tests/generic/733.out
 create mode 100644 tests/generic/734
 create mode 100644 tests/generic/734.out
 create mode 100644 tests/generic/735
 create mode 100644 tests/generic/735.out
 create mode 100644 tests/generic/736
 create mode 100644 tests/generic/736.out
Signature · 1 line
2.41.0