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

Re: [Nbd] NBD_CMD_FLAG_FUA?



>>  +bit 3 - NBD_FLAG_SEND_FUA
>> - does it mean that if bit 16 bit is set, NBD_CMD_FLAG_FUA should be
>> performed? - what on earth is NBD_CMD_FLAG_FUA for? what should I do if i
>> receive that message?
>
> You can't "perform" an NBD_CMD_FLAG_FUA, it's saying that the
> command to which it is attached (which, as per above, is NBD_CMD_WRITE
> only at the moment, though we'd also want to allow it on the
> recent NBD_CMD_DISCARD), you treat the command as having "force
> unit access" set, which means you should not acknowledge the
> command as complete until the data is written to the physical disk. IE
> it has the same semantics as the Linux block layer flag.

But isn't it the same as sending a NBD_CMD_FLUSH after a write/discard?

(thanks for the reply by the way!)


Folkert.



Reply to: