@@ -135,6 +135,9 @@ typedef struct NBDExtent {
#define NBD_FLAG_SEND_TRIM (1 << 5) /* Send TRIM (discard) */
#define NBD_FLAG_SEND_WRITE_ZEROES (1 << 6) /* Send WRITE_ZEROES */
#define NBD_FLAG_SEND_DF (1 << 7) /* Send DF (Do not Fragment) */
+#define NBD_FLAG_CAN_MULTI_CONN (1 << 8) /* Shared cache over multiple
+ connections per export */
+#define NBD_FLAG_SEND_RESIZE (1 << 9) /* Support RESIZE extension */
#define NBD_FLAG_SEND_CACHE (1 << 10) /* Send CACHE (prefetch) */
/* New-style handshake (global) flags, sent from server to client, and
This is done to avoid silly mistakes like one with wrong value of NBD_FLAG_SEND_CACHE flag. Signed-off-by: Denis V. Lunev <den@openvz.org> CC: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> CC: Eric Blake <eblake@redhat.com> CC: Paolo Bonzini <pbonzini@redhat.com> --- include/block/nbd.h | 3 +++ 1 file changed, 3 insertions(+)