qemu-block
[Top][All Lists]
Advanced

[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: Stefan Hajnoczi
Subject: Re: [Qemu-block] RFC iscsi: set FUA and DPO if !bs->enable_write_cache
Date: Tue, 14 Apr 2015 10:04:09 +0100

On Tue, Apr 14, 2015 at 7:49 AM, Peter Lieven <address@hidden> wrote:
> Ronnie came up with an idea to reduce latency if !bs->enable_write_cache for
> an iSCSI device.
>
> If !bs->enable_write_cache Qemu sends a flush after every single write. What
> could be done is
> the following:
>
> if (!bs->enable_write_cache)
>  set FUA (force unit access) and DPO (disable page out) bits in every write
> cmd
>  make iscsi_co_flush a NOOP in this case.
>
> Your thoughts?

Do other commands besides writes rely on iscsi_co_flush()?

Paolo: I checked NBD and noticed there is an inconsistency there.
nbd_co_writev_1() uses FUA when bs->enable_write_cache == true but it
also sends flushes.  Does that mean it's doing unnecessary work?

Stefan



reply via email to

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