Skip to contentSkip to conversation

when to bdrv_co_flush()?

Qemu-devel lihuiba 1 participant 1 message Nov 10, 2014

lore
Share & tools
lore

lihuiba

author
#0 lore raw

Hi, all

bdrv_co_flush() will flush all cached data to persistent storage, and I'm wondering whether guest sync() will eventually trigger bdrv_co_flush() be called.

Intuitively, guest sync() should trigger bdrv_co_flush() in qemu. But simple

grep gave me a negative answer. So I'm wondering why it's not like what I

suspected.

Thanks!