Files
apfstests/tests/generic/595.out
T
Eric Biggers 0afa39e891 generic: test fscrypt key eviction racing with inode dirtying
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>
2020-04-06 20:42:26 +08:00

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