fstests: fscrypt test updates
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 18 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | common/encrypt: separate data and inode noncescommon/ tests/ tests/ | +29 | 2 replies | |
| 2/12 | common/encrypt: add btrfs to get_encryption_*noncecommon/ | +31 | 1 reply | |
| 3/12 | common/encrypt: add btrfs to get_ciphertext_filenamecommon/ | +16 | 1 reply | |
| 4/12 | common/encrypt: enable making a encrypted btrfs filesystemcommon/ | +6 | 1 reply | |
| 5/12 | common/verity: explicitly don't allow btrfs encryptioncommon/ | +4 | 1 reply | |
| 6/12 | btrfs: add simple test of reflink of encrypted datatests/ tests/ | +72 | 1 reply | |
| 7/12 | btrfs: test snapshotting encrypted subvoltests/ tests/ | +187 | 4 replies | |
| 8/12 | fstests: properly test for v1 encryption policies in encrypt testscommon/ tests/ | +3 | 2 replies | |
| 9/12 | fstests: split generic/580 into two teststests/ tests/ tests/ +1 more | +173 | 3 replies | |
| 10/12 | fstests: split generic/581 into two teststests/ tests/ tests/ +1 more | +188 | 0 replies | |
| 11/12 | fstests: split generic/613 into two teststests/ tests/ tests/ +1 more | +138 | 0 replies | |
| 12/12 | fstest: add a fsstress+fscrypt testtests/ tests/ | +41 | 2 replies |
Reviews trailers per patch
8 of 12 patches have a Reviewed-by or Acked-by.
| Patch | Anand Jain |
|---|---|
| 1/12 | R-b |
| 2/12 | R-b |
| 3/12 | R-b |
| 4/12 | R-b |
| 5/12 | R-b |
| 6/12 | |
| 7/12 | R-b |
| 8/12 | R-b |
| 9/12 | |
| 10/12 | |
| 11/12 | |
| 12/12 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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