summaryrefslogtreecommitdiff
path: root/virt/kvm
diff options
context:
space:
mode:
authorPaul Clements <paul.clements@steeleye.com>2012-10-05 00:16:15 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-05 18:05:23 (GMT)
commit2f012508880f8037590372c24ca6e8b6af8fffb6 (patch)
tree3921d2b8d00cf47503d30455e2b4df180cc13d11 /virt/kvm
parentde74e00a965177e8a0d44af0ba31971b80f2bf3f (diff)
downloadlinux-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