diff options
author | Vladimir Sementsov-Ogievskiy | 2020-04-01 17:01:08 +0200 |
---|---|---|
committer | Eric Blake | 2020-05-04 22:16:46 +0200 |
commit | 714eb0dbc5480c8a9d9f39eb931cb5d2acc1b6c6 (patch) | |
tree | 7f630c78e11adb5f33b4ee130e820f424e23bb76 /blockdev.c | |
parent | block/nbd-client: drop max_block restriction from block_status (diff) | |
download | qemu-714eb0dbc5480c8a9d9f39eb931cb5d2acc1b6c6.tar.gz qemu-714eb0dbc5480c8a9d9f39eb931cb5d2acc1b6c6.tar.xz qemu-714eb0dbc5480c8a9d9f39eb931cb5d2acc1b6c6.zip |
block/nbd-client: drop max_block restriction from discard
The NBD spec was updated (see nbd.git commit 9f30fedb) so that
max_block doesn't relate to NBD_CMD_TRIM. So, drop the restriction.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20200401150112.9557-3-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: tweak commit message to call out NBD commit]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions