On Sun, Jul 1, 2018 at 12:01 PM, Lewis Diamond <m...@lewisdiamond.com> wrote: > Yes, you are right, after running `btrfs check --clear-space-cache v1 > <dev>` a `btrfs check --readonly` passes without error. Thanks! > > I'm absolutely not familiar with the btrfs code, but would it be > possible to have some error handling in `btrfs check` that picks up > this situation instead of crashing?
It shouldn't crash, but also you didn't say what version of btrfs-progs you're using so it's plausible it's already been fixed. It's worth trying btrfs-progs 4.17 to see if it still crashes, and if it does still crash, then take a btrfs-image (using -ss option) so developers have a chance of making btrfs better. -- Chris Murphy -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html