block: Inherit opt_transfer_length
authorKevin Wolf <kwolf@redhat.com>
Wed, 11 Dec 2013 18:50:32 +0000 (19:50 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 24 Jan 2014 16:40:01 +0000 (17:40 +0100)
commit466ad822deef3a03757d505218a52993c5d56b5d
treeb92cdf86a640a7c972ba6172fe7cc4895eb9caa4
parentd34682cd4a06efe9ee3fc8cb7e8a0ea445299989
block: Inherit opt_transfer_length

When there is a format driver between the backend, it's not guaranteed
that exposing the opt_transfer_length for the format driver results in
the optimal requests (because of fragmentation etc.), but it can't make
things worse, so let's just do it.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: BenoƮt Canet <benoit@irqsave.net>
block.c