Re: [RFC] btrfs: Allow read-only mount with corrupted extent tree

2021-03-22 Thread Dāvis Mosāns
pirmd., 2021. g. 22. marts, plkst. 06:48 — lietotājs Zygo Blaxell () rakstīja: > > On Mon, Mar 22, 2021 at 05:13:13AM +0200, Dāvis Mosāns wrote: > > pirmd., 2021. g. 22. marts, plkst. 02:25 — lietotājs Qu Wenruo > > () rakstīja: > > > > > > > > > > > > On 2021/3/22 上午5:54, Dāvis Mosāns wrote: > > >

Re: [RFC] btrfs: Allow read-only mount with corrupted extent tree

2021-03-21 Thread Zygo Blaxell
On Mon, Mar 22, 2021 at 05:13:13AM +0200, Dāvis Mosāns wrote: > pirmd., 2021. g. 22. marts, plkst. 02:25 — lietotājs Qu Wenruo > () rakstīja: > > > > > > > > On 2021/3/22 上午5:54, Dāvis Mosāns wrote: > > > sestd., 2021. g. 20. marts, plkst. 02:34 — lietotājs Qu Wenruo > > > () rakstīja: > > >> > > >

Re: [RFC] btrfs: Allow read-only mount with corrupted extent tree

2021-03-21 Thread Dāvis Mosāns
pirmd., 2021. g. 22. marts, plkst. 02:25 — lietotājs Qu Wenruo () rakstīja: > > > > On 2021/3/22 上午5:54, Dāvis Mosāns wrote: > > sestd., 2021. g. 20. marts, plkst. 02:34 — lietotājs Qu Wenruo > > () rakstīja: > >> > >> > >> > >> On 2021/3/19 下午11:34, Dāvis Mosāns wrote: > >>> ceturtd., 2021. g. 18.

Re: [RFC] btrfs: Allow read-only mount with corrupted extent tree

2021-03-21 Thread Qu Wenruo
On 2021/3/22 上午5:54, Dāvis Mosāns wrote: sestd., 2021. g. 20. marts, plkst. 02:34 — lietotājs Qu Wenruo () rakstīja: On 2021/3/19 下午11:34, Dāvis Mosāns wrote: ceturtd., 2021. g. 18. marts, plkst. 01:49 — lietotājs Qu Wenruo () rakstīja: On 2021/3/18 上午5:03, Dāvis Mosāns wrote: trešd.

Re: [RFC] btrfs: Allow read-only mount with corrupted extent tree

2021-03-21 Thread Dāvis Mosāns
sestd., 2021. g. 20. marts, plkst. 02:34 — lietotājs Qu Wenruo () rakstīja: > > > > On 2021/3/19 下午11:34, Dāvis Mosāns wrote: > > ceturtd., 2021. g. 18. marts, plkst. 01:49 — lietotājs Qu Wenruo > > () rakstīja: > >> > >> > >> > >> On 2021/3/18 上午5:03, Dāvis Mosāns wrote: > >>> trešd., 2021. g. 17.

Re: [RFC] btrfs: Allow read-only mount with corrupted extent tree

2021-03-19 Thread Qu Wenruo
On 2021/3/19 下午11:34, Dāvis Mosāns wrote: ceturtd., 2021. g. 18. marts, plkst. 01:49 — lietotājs Qu Wenruo () rakstīja: On 2021/3/18 上午5:03, Dāvis Mosāns wrote: trešd., 2021. g. 17. marts, plkst. 12:28 — lietotājs Qu Wenruo () rakstīja: On 2021/3/17 上午9:29, Dāvis Mosāns wrote: trešd.

Re: [RFC] btrfs: Allow read-only mount with corrupted extent tree

2021-03-19 Thread Dāvis Mosāns
ceturtd., 2021. g. 18. marts, plkst. 01:49 — lietotājs Qu Wenruo () rakstīja: > > > > On 2021/3/18 上午5:03, Dāvis Mosāns wrote: > > trešd., 2021. g. 17. marts, plkst. 12:28 — lietotājs Qu Wenruo > > () rakstīja: > >> > >> > >> > >> On 2021/3/17 上午9:29, Dāvis Mosāns wrote: > >>> trešd., 2021. g. 17.

Re: [RFC] btrfs: Allow read-only mount with corrupted extent tree

2021-03-17 Thread Qu Wenruo
On 2021/3/18 上午5:03, Dāvis Mosāns wrote: trešd., 2021. g. 17. marts, plkst. 12:28 — lietotājs Qu Wenruo () rakstīja: On 2021/3/17 上午9:29, Dāvis Mosāns wrote: trešd., 2021. g. 17. marts, plkst. 03:18 — lietotājs Dāvis Mosāns () rakstīja: Currently if there's any corruption at all in exte

Re: [RFC] btrfs: Allow read-only mount with corrupted extent tree

2021-03-17 Thread Dāvis Mosāns
trešd., 2021. g. 17. marts, plkst. 12:28 — lietotājs Qu Wenruo () rakstīja: > > > > On 2021/3/17 上午9:29, Dāvis Mosāns wrote: > > trešd., 2021. g. 17. marts, plkst. 03:18 — lietotājs Dāvis Mosāns > > () rakstīja: > >> > >> Currently if there's any corruption at all in extent tree > >> (eg. even sing

Re: [RFC] btrfs: Allow read-only mount with corrupted extent tree

2021-03-17 Thread Qu Wenruo
On 2021/3/17 上午9:29, Dāvis Mosāns wrote: trešd., 2021. g. 17. marts, plkst. 03:18 — lietotājs Dāvis Mosāns () rakstīja: 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

Re: [RFC] btrfs: Allow read-only mount with corrupted extent tree

2021-03-16 Thread Dāvis Mosāns
trešd., 2021. g. 17. marts, plkst. 03:18 — lietotājs Dāvis Mosāns () rakstīja: > > 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