[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ccd23bbb-1404-0727-383f-2412a5d4df36@toxicpanda.com>
Date: Wed, 11 Aug 2021 16:41:02 -0400
From: Josef Bacik <josef@...icpanda.com>
To: Dāvis Mosāns <davispuh@...il.com>,
linux-btrfs@...r.kernel.org
Cc: Chris Mason <clm@...com>, David Sterba <dsterba@...e.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] btrfs: Allow read-only mount with corrupted extent tree
On 8/11/21 4:07 PM, Dāvis Mosāns wrote:
> Currently if there's any corruption at all in extent tree
> (eg. even single bit) then mounting will fail with:
> "failed to read block groups: -5" (-EIO)
> It happens because we immediately abort on first error when
> searching in extent tree for block groups.
>
> Now with this patch if `ignorebadroots` option is specified
> then we handle such case and continue by removing already
> created block groups and creating dummy block groups.
>
Already done and queue'ed up for the next release
btrfs: rescue: allow ibadroots to skip bad extent tree when reading block group
items
thanks,
Josef
Powered by blists - more mailing lists