Re: [Qemu-block] [PATCH 8/9] block: Introduce BlockDriver.bdrv_drain callback

2015-10-28 Thread Kevin Wolf
Am 26.10.2015 um 07:24 hat Fam Zheng geschrieben: > Drivers can have internal request sources that generate IO, like the > need_check_timer in QED. Since we want quiesced periods that contain > nested event loops in block layer, we need to have a way to disable such > event sources. > > Block

Re: [Qemu-block] [PATCH 8/9] block: Introduce BlockDriver.bdrv_drain callback

2015-10-28 Thread Fam Zheng
On Wed, 10/28 11:13, Kevin Wolf wrote: > Am 26.10.2015 um 07:24 hat Fam Zheng geschrieben: > > Drivers can have internal request sources that generate IO, like the > > need_check_timer in QED. Since we want quiesced periods that contain > > nested event loops in block layer, we need to have a way

[Qemu-block] [PATCH 8/9] block: Introduce BlockDriver.bdrv_drain callback

2015-10-26 Thread Fam Zheng
Drivers can have internal request sources that generate IO, like the need_check_timer in QED. Since we want quiesced periods that contain nested event loops in block layer, we need to have a way to disable such event sources. Block drivers must implement the "bdrv_drain" callback if it has any