Re: 6.4 and 6.9 btrfs blocked and btrfs_work_helper workqueue lockup, is it an IO bug/hang though?

Marc MERLIN
2024-02-29T03:15:58Z

On Thu, Feb 29, 2024 at 12:31:19PM +1030, Qu Wenruo wrote:
> Not an expert on the block drivers, but a lot of btrfs works relies on
> the endio function (either a successful end, or an error) to unlock
> various structures.
>
> If the driver didn't properly end the bio when something went wrong, it
> would definitely cause a hang.

makes sense.

> Another question is, are both kernels running on the same machine?

yes

> In that case, is the same aacraid driver used on v6.9? As the newer
> kernel shows hangs on mdraid too, which is now shown in the older kernel.

right, I noticed that difference, I'll see if I can dig that out.