[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Is NBD_CMD_FLAG_FUA valid during NBD_CMD_FLUSH?
From: |
Eric Blake |
Subject: |
[Qemu-devel] Is NBD_CMD_FLAG_FUA valid during NBD_CMD_FLUSH? |
Date: |
Thu, 31 Mar 2016 13:33:18 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 |
Qemu's nbd-client is setting NBD_CMD_FLAG_FUA during a flush command,
but the official NBD protocol documentation doesn't describe this as
valid (it merely states that flush must not have a reply until all
acknowledged writes have hit permanent storage). Does this flag make
sense (what semantics would the flag add, and we need to fix the NBD
docs as well as relax the reference implementation to allow the flag),
or is it a bug in qemu (and the recent tightening of NBD to throw EINVAL
on unsupported flags will trip up qemu)?
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] Is NBD_CMD_FLAG_FUA valid during NBD_CMD_FLUSH?,
Eric Blake <=