block: Move request_alignment into BlockLimit
authorEric Blake <eblake@redhat.com>
Thu, 23 Jun 2016 22:37:24 +0000 (16:37 -0600)
committerKevin Wolf <kwolf@redhat.com>
Tue, 5 Jul 2016 14:46:26 +0000 (16:46 +0200)
commita5b8dd2ce83208cd7d6eb4562339ecf5aae13574
treeeea17f09c6a183d2526f90798c6f6097db506195
parentd9e0dfa2462e32cc5c6c49401ad7bff36453f75c
block: Move request_alignment into BlockLimit

It makes more sense to have ALL block size limit constraints
in the same struct.  Improve the documentation while at it.

Simplify a couple of conditionals, now that we have audited and
documented that request_alignment is always non-zero.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
12 files changed:
block.c
block/blkdebug.c
block/bochs.c
block/cloop.c
block/dmg.c
block/io.c
block/iscsi.c
block/qcow2.c
block/raw-posix.c
block/raw-win32.c
block/vvfat.c
include/block/block_int.h