mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
0afa39e891
Add a regression test for a bug in the FS_IOC_REMOVE_ENCRYPTION_KEY
ioctl fixed by commit 2b4eae95c736 ("fscrypt: don't evict dirty inodes
after removing key").
This ioctl is also tested by generic/580 and generic/581, but they
didn't cover the case where this bug occurs.
This test detects the bug on ext4, f2fs, and ubifs. The multi-threaded
part of the test actually still fails on ubifs even with the fix, due to
another kernel bug which I'm working on fixing.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
11 lines
358 B
Plaintext
11 lines
358 B
Plaintext
QA output created by 595
|
|
Added encryption key with identifier 69b2f6edeee720cce0577937eb8a6751
|
|
|
|
# Single-threaded reproducer
|
|
Removed encryption key with identifier 69b2f6edeee720cce0577937eb8a6751, but files still busy
|
|
Added encryption key with identifier 69b2f6edeee720cce0577937eb8a6751
|
|
contents
|
|
|
|
# Multi-threaded reproducer
|
|
Multi-threaded reproducer done
|