Re: [Qemu-block] [PATCH 2/3] block: change drain to look only at one child at a time

2016-10-10 Thread Kevin Wolf
Am 07.10.2016 um 18:19 hat Paolo Bonzini geschrieben: > bdrv_requests_pending is checking children to also wait until internal > requests (such as metadata writes) have completed. However, checking > children is in general overkill. Children requests can be of two kinds: > > - requests caused

[Qemu-block] [PATCH 2/3] block: change drain to look only at one child at a time

2016-10-07 Thread Paolo Bonzini
bdrv_requests_pending is checking children to also wait until internal requests (such as metadata writes) have completed. However, checking children is in general overkill. Children requests can be of two kinds: - requests caused by an operation on bs, e.g. a bdrv_aio_write to bs causing a