]> git.ipfire.org Git - thirdparty/qemu.git/commit
block: Kill .bdrv_co_discard()
authorEric Blake <eblake@redhat.com>
Fri, 15 Jul 2016 23:23:06 +0000 (17:23 -0600)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 20 Jul 2016 13:24:25 +0000 (14:24 +0100)
commit02aefe43cb437ae437d5df88b7f2951f21d62ead
tree848e6a967e78e27b44ee0a3fb0de7245707df43e
parentdde475376317ba86e9531b7ebd9e04306e8f9bd4
block: Kill .bdrv_co_discard()

Now that all drivers have a byte-based .bdrv_co_pdiscard(), we
no longer need to worry about the sector-based version.  We can
also relax our minimum alignment to 1 for drivers that support it.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1468624988-423-18-git-send-email-eblake@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/io.c
include/block/block_int.h