Re: [PATCH] btrfs: fix race between balance and cancel/pause

From: xiaoshoukui
Date: Thu Aug 10 2023 - 01:45:37 EST


> They're just two different issues. My patch is concerned with the panic, yours
> is concerned with getting the correct return value out to the user.

Agreed.

> Rebase your patch ontop of Sterba's tree with my fix and send it along, getting
> an accurate errno out to the user is a reasonable goal. Thanks,

Send the patch through below thread, pls review. Thanks.
https://lore.kernel.org/linux-btrfs/20230810034810.23934-1-xiaoshoukui@xxxxxxxxx/T/#u