]> git.ipfire.org Git - thirdparty/qemu.git/commit
iscsi: Use block size as minimum zero/discard alignment
authorEric Blake <eblake@redhat.com>
Wed, 1 Jun 2016 21:10:01 +0000 (15:10 -0600)
committerKevin Wolf <kwolf@redhat.com>
Wed, 8 Jun 2016 08:21:08 +0000 (10:21 +0200)
commit8b1847445159ff6c12e7a24f04dc989ff97e34d4
treea3c61bf77b983bcbb04282d08cee881baf6bbb8e
parentebb718a5c7240f6ffb308e0d0b67a92c3b63b91c
iscsi: Use block size as minimum zero/discard alignment

If hardware does not advertise a minimum zero/discard
alignment, we still want to guarantee that the block layer
will align requests to our blocks, rather than the arbitrary
512-byte BDRV sector size.

Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/iscsi.c