nbd: BLOCK_STATUS for standard get_block_status function: server part
commite7b1948d510d2e8805db8efaf704bd82d3966963
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Mon, 12 Mar 2018 15:21:21 +0000 (12 18:21 +0300)
committerEric Blake <eblake@redhat.com>
Tue, 13 Mar 2018 20:38:56 +0000 (13 15:38 -0500)
treebcd0d865d5176efb70133e453d88797b66b54881
parent12296459f4319e5d0a0f720ffc3d52113cde026e
nbd: BLOCK_STATUS for standard get_block_status function: server part

Minimal realization: only one extent in server answer is supported.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180312152126.286890-4-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: tweak whitespace, move constant from .h to .c, improve
logic of check_meta_export_name, simplify nbd_negotiate_options
by doing more in nbd_negotiate_meta_queries]
Signed-off-by: Eric Blake <eblake@redhat.com>
nbd/server.c