nbd: BLOCK_STATUS constants
commit25c146789f533c755923b941262be8072586728c
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Mon, 26 Feb 2018 16:26:25 +0000 (26 10:26 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 1 Mar 2018 20:05:24 +0000 (1 14:05 -0600)
tree8dbbc70d1c5ad84865b0988746bdd19ef636661e
parent6bc8695725f82bcce160a9b1612c2737edb1e21c
nbd: BLOCK_STATUS constants

Expose the new constants and structs that will be used by both
server and client implementations of NBD_CMD_BLOCK_STATUS (the
command is currently experimental at
https://github.com/NetworkBlockDevice/nbd/blob/extension-blockstatus/doc/proto.md
but will hopefully be stabilized soon).

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <1518702707-7077-4-git-send-email-vsementsov@virtuozzo.com>
[eblake: split from larger patch on server implementation]
Signed-off-by: Eric Blake <eblake@redhat.com>
include/block/nbd.h
nbd/common.c