[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Nbd] Is NBD_CMD_FLAG_FUA valid during NBD_CMD_FLUSH?
From: |
Alex Bligh |
Subject: |
Re: [Qemu-devel] [Nbd] Is NBD_CMD_FLAG_FUA valid during NBD_CMD_FLUSH? |
Date: |
Fri, 1 Apr 2016 10:19:37 +0100 |
On 1 Apr 2016, at 08:43, Paolo Bonzini <address@hidden> wrote:
>
> On 31/03/2016 22:17, Alex Bligh wrote:
>>>> In qemu, read+FUA just triggers blk_co_flush() prior to reading; but
>>>> that's the same function it calls for write+FUA.
>> That's harmless, but unnecessary in the sense that current documented
>> behaviour doesn't require it. Perhaps it should?
>>
>> I suppose TRIM etc. should support FUA too?
>
> TRIM is an advisory operation, so it doesn't make sense to force access
> to the medium.
Reflecting, that's correct. FUA can't mean anything sensible for
TRIM.
--
Alex Bligh