[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] RFC iscsi: set FUA and DPO if !bs->enable_write_cache
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-block] RFC iscsi: set FUA and DPO if !bs->enable_write_cache |
Date: |
Thu, 16 Apr 2015 14:45:01 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 16/04/2015 14:43, Kevin Wolf wrote:
> > Of course cache=unsafe and cache.no-flush=on are not a good idea because
> > you want to flush the qcow2 caches for example.
>
> Actually, cache=unsafe doesn't disable qcow2 cache writeback. That's the
> difference between .bdrv_co_flush_to_os as used by image formats and
> .bdrv_co_flush_to_disk/.bdrv_aio_flush used by the protocol layer; only
> the latter is disabled.
Oh, actually now I remember arguing with you about it! :)
> So cache=unsafe should be fine (and file.cache.* doesn't work yet, but
> I'm working on it at the moment).
Great, thanks!
Paolo
- Re: [Qemu-block] RFC iscsi: set FUA and DPO if !bs->enable_write_cache, (continued)
- Re: [Qemu-block] RFC iscsi: set FUA and DPO if !bs->enable_write_cache, ronnie sahlberg, 2015/04/14
- Re: [Qemu-block] RFC iscsi: set FUA and DPO if !bs->enable_write_cache, Paolo Bonzini, 2015/04/15
- Re: [Qemu-block] RFC iscsi: set FUA and DPO if !bs->enable_write_cache, Peter Lieven, 2015/04/16
- Re: [Qemu-block] RFC iscsi: set FUA and DPO if !bs->enable_write_cache, Paolo Bonzini, 2015/04/16
- Re: [Qemu-block] RFC iscsi: set FUA and DPO if !bs->enable_write_cache, Peter Lieven, 2015/04/16
- Re: [Qemu-block] RFC iscsi: set FUA and DPO if !bs->enable_write_cache, Paolo Bonzini, 2015/04/16
- Re: [Qemu-block] RFC iscsi: set FUA and DPO if !bs->enable_write_cache, Peter Lieven, 2015/04/16
- Re: [Qemu-block] RFC iscsi: set FUA and DPO if !bs->enable_write_cache, Paolo Bonzini, 2015/04/16
- Re: [Qemu-block] RFC iscsi: set FUA and DPO if !bs->enable_write_cache, Peter Lieven, 2015/04/16
- Re: [Qemu-block] RFC iscsi: set FUA and DPO if !bs->enable_write_cache, Kevin Wolf, 2015/04/16
- Re: [Qemu-block] RFC iscsi: set FUA and DPO if !bs->enable_write_cache,
Paolo Bonzini <=