diff options
author | Paul Clements <paul.clements@steeleye.com> | 2012-10-05 02:16:15 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-05 20:05:23 +0200 |
commit | 2f012508880f8037590372c24ca6e8b6af8fffb6 (patch) | |
tree | 3921d2b8d00cf47503d30455e2b4df180cc13d11 /Documentation/virtual | |
parent | rapidio: add destination ID allocation mechanism (diff) | |
download | linux-2f012508880f8037590372c24ca6e8b6af8fffb6.tar.xz linux-2f012508880f8037590372c24ca6e8b6af8fffb6.zip |
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 'Documentation/virtual')
0 files changed, 0 insertions, 0 deletions