On Fri, Nov 28, 2014 at 01:31:07PM +0100, Francesco Romani wrote: > @@ -82,6 +83,8 @@ BlockDeviceInfo *bdrv_block_device_info(BlockDriverState > *bs) > info->iops_size = cfg.op_size; > } > > + info->write_threshold = bdrv_usage_threshold_get(bs);
Overall looks good but I notice that "write_threshold" and "usage_threshold" are both used. Please use just one consistently (I think "write_threshold" is clearer).
pgpoo5lthMtKa.pgp
Description: PGP signature