mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic: test fsync after unlink
This test is motivated by an fsync issue discovered in btrfs.
The issue was that after fsyncing an inode that got its link count
decremented, and the new link count is greater than zero, after the
fsync log replay the inode's parent directory metadata became
inconsistent - it had a wrong i_size and dangling index entries which
prevented the directory from ever being removed (rmdir always failed
with -ENOTEMPTY, even if the directory had no more child inodes).
The btrfs issue was fixed by the following linux kernel patch:
Btrfs: fix directory inconsistency after fsync log replay
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
90a5c23039
commit
6cf4c169e6
@@ -41,6 +41,7 @@
|
||||
036 auto aio rw stress
|
||||
037 metadata auto quick
|
||||
038 auto stress
|
||||
039 metadata auto quick
|
||||
053 acl repair auto quick
|
||||
062 attr udf auto quick
|
||||
068 other auto freeze dangerous stress
|
||||
|
||||
Reference in New Issue
Block a user