Re: [Qemu-devel] [PATCH 4/4] block-backend: Queue requests while drained

2019-07-26 Thread Max Reitz
On 26.07.19 13:49, Kevin Wolf wrote: > Am 26.07.2019 um 12:50 hat Max Reitz geschrieben: >> On 25.07.19 18:27, Kevin Wolf wrote: >>> This fixes device like IDE that can still start new requests from I/O >> >> *devices >> >>> handlers in the CPU thread while the block backend is drained. >>> >>> The

Re: [Qemu-devel] [PATCH 4/4] block-backend: Queue requests while drained

2019-07-26 Thread Kevin Wolf
Am 26.07.2019 um 12:50 hat Max Reitz geschrieben: > On 25.07.19 18:27, Kevin Wolf wrote: > > This fixes device like IDE that can still start new requests from I/O > > *devices > > > handlers in the CPU thread while the block backend is drained. > > > > The basic assumption is that in a drain sec

Re: [Qemu-devel] [PATCH 4/4] block-backend: Queue requests while drained

2019-07-26 Thread Max Reitz
On 25.07.19 18:27, Kevin Wolf wrote: > This fixes device like IDE that can still start new requests from I/O *devices > handlers in the CPU thread while the block backend is drained. > > The basic assumption is that in a drain section, no new requests should > be allowed through a BlockBackend (

Re: [Qemu-devel] [PATCH 4/4] block-backend: Queue requests while drained

2019-07-25 Thread Eric Blake
On 7/25/19 11:27 AM, Kevin Wolf wrote: > This fixes device like IDE that can still start new requests from I/O > handlers in the CPU thread while the block backend is drained. > > The basic assumption is that in a drain section, no new requests should > be allowed through a BlockBackend (blk_drain

[Qemu-devel] [PATCH 4/4] block-backend: Queue requests while drained

2019-07-25 Thread Kevin Wolf
This fixes device like IDE that can still start new requests from I/O handlers in the CPU thread while the block backend is drained. The basic assumption is that in a drain section, no new requests should be allowed through a BlockBackend (blk_drained_begin/end don't exist, we get drain sections o