On Fri, May 15, 2015 at 03:51:36PM +0800, Wen Congyang wrote:
If bus_size is less than 0, the command fails.
If buf_size is 0, use DEFAULT_MIRROR_BUF_SIZE.
If buf_size % granularity is not 0, mirror_free_init() will
do dangerous things.
Signed-off-by: Wen Congyang we...@cn.fujitsu.com
Ping...
On 05/15/2015 03:51 PM, Wen Congyang wrote:
If bus_size is less than 0, the command fails.
If buf_size is 0, use DEFAULT_MIRROR_BUF_SIZE.
If buf_size % granularity is not 0, mirror_free_init() will
do dangerous things.
Signed-off-by: Wen Congyang we...@cn.fujitsu.com
Reviewed-by:
If bus_size is less than 0, the command fails.
If buf_size is 0, use DEFAULT_MIRROR_BUF_SIZE.
If buf_size % granularity is not 0, mirror_free_init() will
do dangerous things.
Signed-off-by: Wen Congyang we...@cn.fujitsu.com
Reviewed-by: Fam Zheng f...@redhat.com
---
block/mirror.c | 11