Re: [6.2][regression] after commit 947a629988f191807d2d22ba63ae18259bb645c5 btrfs volume periodical forced switch to readonly after a lot of disk writes

From: Qu Wenruo
Date: Wed Dec 28 2022 - 19:00:29 EST




On 2022/12/29 07:42, Mikhail Gavrilov wrote:
On Thu, Dec 29, 2022 at 4:24 AM Qu Wenruo <quwenruo.btrfs@xxxxxxx> wrote:

Just one last thing to confirm, mind to provide the following dump?

# btrfs ins dump-tree -t chunk <device>

If the fix works, it means you have some tree block crossing stripe
boundary, which is not the ideal situation.

I attached this dump.
The only thing that I did from a working system I hope it is not
affected to result?

For small dumps like chunk tree, it's completely fine to dump from live systems.

And your dumps (along with your previous debug output) shows no metadata crossing stripe boundaries.

I'd need dig deeper why btrfs is splitting extent buffers unnecessarily.

Thanks,
Qu