[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] bdrv_co_flush_to_disk() don't flush as expected
From: |
Liu Yuan |
Subject: |
Re: [Qemu-devel] bdrv_co_flush_to_disk() don't flush as expected |
Date: |
Sat, 19 Jan 2013 00:13:21 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 |
On 01/18/2013 11:56 PM, Stefan Hajnoczi wrote:
> How are you checking that sd_co_flush_to_disk() is called? Please
> post the diff.
>From the sheep.log, I can see
Jan 19 00:09:39 [main] queue_request(355) FLUSH_VDI, 1
...
This means a flush request is sent from QEMU. I added a printf() in
sd_co_flush_to_disk (sheepdog.c) also confirmed that sd_co_flush_to_disk
wasn't called until I typed 'poweroff' in the guest.
Thanks,
Yuan