diff options
author | Paul Clements <paul.clements@steeleye.com> | 2012-10-04 17:16:15 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-06 03:05:23 +0900 |
commit | 2f012508880f8037590372c24ca6e8b6af8fffb6 (patch) | |
tree | 3921d2b8d00cf47503d30455e2b4df180cc13d11 /lib/iomap_copy.c | |
parent | de74e00a965177e8a0d44af0ba31971b80f2bf3f (diff) |
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 'lib/iomap_copy.c')
0 files changed, 0 insertions, 0 deletions