]> Git Repo - qemu.git/commit
block: Set default request_alignment during bdrv_refresh_limits()
authorEric Blake <[email protected]>
Thu, 23 Jun 2016 22:37:18 +0000 (16:37 -0600)
committerKevin Wolf <[email protected]>
Tue, 5 Jul 2016 14:46:25 +0000 (16:46 +0200)
commit79ba8c986adb9ca07f52abd0b3d33c3aee8e6ff9
treeb5dc1abc3917a06033dca8b2bf9e8e9c3c370210
parenta65064816d64db463f4c24bd81dcaad62fee89eb
block: Set default request_alignment during bdrv_refresh_limits()

We want to eventually stick request_alignment alongside other
BlockLimits, but first, we must ensure it is populated at the
same time as all other limits, rather than being a special case
that is set only when a block is first opened.

Now that all drivers have been updated to supply an override
of request_alignment during their .bdrv_refresh_limits(), as
needed, the block layer itself can defer setting the default
alignment until part of the overall bdrv_refresh_limits().

Signed-off-by: Eric Blake <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Reviewed-by: Fam Zheng <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block.c
block/io.c
This page took 0.029936 seconds and 4 git commands to generate.