diff options
author | Paul Clements <paul.clements@steeleye.com> | 2012-10-05 00:16:15 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-05 18:05:23 (GMT) |
commit | 2f012508880f8037590372c24ca6e8b6af8fffb6 (patch) | |
tree | 3921d2b8d00cf47503d30455e2b4df180cc13d11 /virt/kvm | |
parent | de74e00a965177e8a0d44af0ba31971b80f2bf3f (diff) | |
download | linux-fsl-qoriq-2f012508880f8037590372c24ca6e8b6af8fffb6.tar.xz |
nbd: add set flags ioctl
Add a set-flags ioctl, allowing various option flags to be set on an nbd
device. This allows the nbd-client to set the device flags (to enable
read-only mode, or enable discard support, etc.).
Flags are typically specified by the nbd-server. During the negotiation
phase of the nbd connection, the server sends its flags to the client.
The client then uses NBD_SET_FLAGS to inform the kernel of the options.
Also included is a one-line fix to debug output for the set-timeout ioctl.
Signed-off-by: Paul Clements <paul.clements@steeleye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions