mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic: add dir fsync test
This test is motivated by a bug found in btrfs when replaying a
directory from the fsync log. The issue was that if a directory
entry is both found in the persisted metadata and in the fsync
log, at log replay time the directory got set with a wrong i_size.
This had the consequence of not being able to rmdir empty
directories (failed with errno ENOTEMPTY).
This was fixed in btrfs with the following linux kernel patch:
Btrfs: fix directory recovery from fsync log
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
committed by
Dave Chinner
parent
108634504c
commit
48c45430ce
@@ -36,6 +36,7 @@
|
||||
031 auto quick prealloc rw
|
||||
032 auto quick rw
|
||||
033 auto quick rw
|
||||
034 auto quick metadata log
|
||||
053 acl repair auto quick
|
||||
062 attr udf auto quick
|
||||
068 other auto freeze dangerous stress
|
||||
|
||||
Reference in New Issue
Block a user