[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] block: emulate .bdrv_flush() using .bdrv_aio_fl

From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] block: emulate .bdrv_flush() using .bdrv_aio_flush()
Date: Mon, 12 Sep 2011 13:15:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2

On 09/12/2011 11:14 AM, Stefan Hajnoczi wrote:
Block drivers typically have two copies of the flush operation: a
synchronous .bdrv_flush() and an asynchronous .bdrv_aio_flush().  This
patch applies the same emulation that we already do for
.bdrv_read()/.bdrv_write() to .bdrv_flush().  Now block drivers only
need to provide either .bdrv_aio_flush() or, in the case of legacy
drivers, .bdrv_flush().

I had the same bug in my nbd improvements series, so thanks. After Kevin merges this and parts 1-7 (or 1-9 even) of that series I'll resend.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]