]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/nbd.h
Merge branches 'release' and 'dmi' into release
[linux-2.6-omap-h63xx.git] / include / linux / nbd.h
index 0f3e69302540d71222d61fa22e2fbdbd2706aae9..cc2b47240a8f2b53cb68ea9af0593bcbdd1e8897 100644 (file)
@@ -26,6 +26,7 @@
 #define NBD_PRINT_DEBUG        _IO( 0xab, 6 )
 #define NBD_SET_SIZE_BLOCKS    _IO( 0xab, 7 )
 #define NBD_DISCONNECT  _IO( 0xab, 8 )
+#define NBD_SET_TIMEOUT _IO( 0xab, 9 )
 
 enum {
        NBD_CMD_READ = 0,
@@ -65,6 +66,7 @@ struct nbd_device {
        int blksize;
        u64 bytesize;
        pid_t pid; /* pid of nbd-client, if attached */
+       int xmit_timeout;
 };
 
 #endif