Re: [PATCH] block: Fix in_flight leak in request padding error path

2021-07-27 Thread Max Reitz
On 27.07.21 17:49, Kevin Wolf wrote: When bdrv_pad_request() fails in bdrv_co_preadv_part(), bs->in_flight has been increased, but is never decreased again. This leads to a hang when trying to drain the block node. This bug was observed with Windows guests which issue a request that fully uses

[PATCH] block: Fix in_flight leak in request padding error path

2021-07-27 Thread Kevin Wolf
When bdrv_pad_request() fails in bdrv_co_preadv_part(), bs->in_flight has been increased, but is never decreased again. This leads to a hang when trying to drain the block node. This bug was observed with Windows guests which issue a request that fully uses IOV_MAX during installation, so that