Re: [PATCH 12/19] btrfs: expire submit buffer on timeout
From: Josef Bacik
Date: Thu Jun 13 2019 - 11:10:03 EST
On Fri, Jun 07, 2019 at 10:10:18PM +0900, Naohiro Aota wrote:
> It is possible to have bios stalled in the submit buffer due to some bug or
> device problem. In such situation, btrfs stops working waiting for buffered
> bios completions. To avoid such hang, add a worker that will cancel the
> stalled bios after a timeout.
>
The block layer does this with it's request timeouts right? So it'll timeout
and we'll get an EIO? If that's not working then we need to fix the block
layer. Thanks,
Josef