commit | b3eba6a4a7e3e148abfde7a30daa855839fcc043 | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kent.overstreet@linux.dev> | Sun Mar 10 14:54:09 2024 -0400 |
committer | Kent Overstreet <kent.overstreet@linux.dev> | Sun Mar 10 15:18:45 2024 -0400 |
tree | fb7cbe0c8b67df772733e9c263701c527406763a | |
parent | ba89083e9f5d9d26f64565ec3ecb823b5bcad055 [diff] |
bcachefs: Fix degraded mode fsck We don't know where the superblock and journal lives on offline devices; that means if a device is offline fsck can't check those buckets. Previously, fsck would incorrectly clear bucket data types for those buckets on offline devices; now we just use the previous state. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>