Skip to content

Commit e8a8374

Browse files
loli10Kbehlendorf
authored andcommitted
Add minimal reproducer for ZoL issue 4083
Adds a test pool which designed to be a minimal reproducer of openzfs/zfs#4083. The pool contains a single filesystem "tank" with only a file "file2" in it. When we try to delete the file we trigger an assertion in zfs_remove(): this is because the file xattr obj was already deleted. This data discrepancy is not detected by a scrub which completes successfully. Signed-off-by: loli10K <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Closes #3
1 parent 1952b26 commit e8a8374

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.markdown

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,12 @@ zol-0.7.0-rc1-be-ziltest| This pool was created so that we might have a big
7373
| details on this problem. The pool's name is
7474
| ziltest.26210 and it contains the "ziltest.26210/fs"
7575
| filesystem made by ziltest.sh.
76+
|
77+
zol-znode-removed-xattr| This pool was created to be a minimal reproducer of
78+
| https://github.com/zfsonlinux/zfs/issues/4083.
79+
| The pool contains a single filesystem "tank" with only
80+
| a file "file2" in it. When we try to delete the file we
81+
| trigger an assertion in zfs_remove(): this is because
82+
| the file xattr obj was already deleted. This data
83+
| discrepancy is not detected by a scrub which completes
84+
| successfully.

zol-znode-removed-xattr.tar.bz2

19.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)