[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] sheepdog: implement SD_OP_FLUSH_VDI operation
From: |
Christoph Hellwig |
Subject: |
Re: [Qemu-devel] [PATCH] sheepdog: implement SD_OP_FLUSH_VDI operation |
Date: |
Fri, 20 Apr 2012 20:05:48 +0200 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
On Tue, Apr 03, 2012 at 01:35:50AM +0800, Liu Yuan wrote:
> From: Liu Yuan <address@hidden>
>
> Flush operation is supposed to flush the write-back cache of
> sheepdog cluster.
>
> By issuing flush operation, we can assure the Guest of data
> reaching the sheepdog cluster storage.
How does qemu know that the cache might need flushing in the backend?
If the backend expects a flush we need to make sure one is sent after
every write if the user selects cache=writethrough or cache=directsync.
Given how expensive that is you should also consider adding an equivalent
to the FUA flag for writes in that case, or simply allow the qemu driver
to tell the cluster that it needs to operate in writethrough mode for
this VDI.
- Re: [Qemu-devel] RE. [PATCH] sheepdog: fix send req helpers, (continued)
- Re: [Qemu-devel] RE. [PATCH] sheepdog: fix send req helpers, Kevin Wolf, 2012/04/03
- Re: [Qemu-devel] [PATCH v3] sheepdog: implement SD_OP_FLUSH_VDI operation, MORITA Kazutaka, 2012/04/03
- [Qemu-devel] [PATCH v4] sheepdog: implement SD_OP_FLUSH_VDI operation, Liu Yuan, 2012/04/03
- [Qemu-devel] [PATCH v4 UPDATE] sheepdog: implement SD_OP_FLUSH_VDI operation, Liu Yuan, 2012/04/03
- Re: [Qemu-devel] [PATCH v4 UPDATE] sheepdog: implement SD_OP_FLUSH_VDI operation, MORITA Kazutaka, 2012/04/03
- Re: [Qemu-devel] [PATCH v4 UPDATE] sheepdog: implement SD_OP_FLUSH_VDI operation, Kevin Wolf, 2012/04/03
- [Qemu-devel] [PATCH v5] sheepdog: implement SD_OP_FLUSH_VDI operation, Liu Yuan, 2012/04/03
- Re: [Qemu-devel] [PATCH v5] sheepdog: implement SD_OP_FLUSH_VDI operation, Kevin Wolf, 2012/04/04
- Re: [Qemu-devel] [PATCH v5] sheepdog: implement SD_OP_FLUSH_VDI operation, Liu Yuan, 2012/04/04
- Re: [Qemu-devel] [PATCH v5] sheepdog: implement SD_OP_FLUSH_VDI operation, Kevin Wolf, 2012/04/04
Re: [Qemu-devel] [PATCH] sheepdog: implement SD_OP_FLUSH_VDI operation,
Christoph Hellwig <=