forked from openzfs/zfs
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch might allow some pools with corrupted dnodes to be imported and for their filesystems to be destroyed. All spill blocks are ignored by virtue of defining DNODE_FLAG_SPILL_BLKPTR as 0. The only other change is to remove a number of assertions which are typically triggered when removing filesystems. WARNING: VERY DANGEROUS! I've given it a single round of testing consisting of: - Given an existing filesystem with xattr=sa and a file(s) with long xattrs needing spill blocks. - Destroy the filesystem with this patch. - Run zdb to verify the leaked space.
- Loading branch information
Showing
4 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters