Commit eb292f7
committed
btrfs-progs: check/lowmem: fix false alerts about EXTENT_OWNER
[BUG]
When simple quota is enabled, lowmem will give false alerts:
[3/8] checking extents
ERROR: extent[13631488 168 1048576] has unknown ref type: 172
ERROR: extent[63963136 168 131072] has unknown ref type: 172
ERROR: extent[63963136 168 131072] has unknown ref type: 172
ERROR: file extent[257 0] root 256 owner 256 backref lost
ERROR: extent[13631488 168 1048576] has unknown ref type: 172
ERROR: file extent[258 0] root 256 owner 256 backref lost
ERROR: errors found in extent allocation tree or chunk allocation
[CAUSE]
Lowmem mode has strict checks on the inlined backref type, and
unfortunately EXTENT_OWNER_REF is not inside the support 4 backre types,
thus it's treated as an unknown type, and caused the false alerts.
[FIX]
Add the EXTENT_OWNER_REF type into the supported types.
For lowmem check itself, those key types are just skipped as it's only
to indicate the owner of a data extent, which will be verified by qgroup
part.
Signed-off-by: Qu Wenruo <wqu@suse.com>1 parent c2c8d98 commit eb292f7
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3053 | 3053 | | |
3054 | 3054 | | |
3055 | 3055 | | |
| 3056 | + | |
3056 | 3057 | | |
3057 | 3058 | | |
3058 | 3059 | | |
| |||
4645 | 4646 | | |
4646 | 4647 | | |
4647 | 4648 | | |
| 4649 | + | |
| 4650 | + | |
| 4651 | + | |
| 4652 | + | |
| 4653 | + | |
| 4654 | + | |
4648 | 4655 | | |
4649 | 4656 | | |
4650 | 4657 | | |
| |||
0 commit comments