On Sat, 08/06 21:09, Vladimir Sementsov-Ogievskiy wrote: > Source disk is created and filled with test data before each test case. > Instead initialize it once for the whole unit. > > performance: > qcow2: 25s -> 15s > raw: 16s -> 11s > > Actually, changed only TestSetSpeed: before this patch it used different > image_len and data pattern. > Alse TestSetSpeed used different image_len for source and target (by > mistake) - this is automatically fixed here. > > Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com>
Reviewed-by: Fam Zheng <f...@redhat.com>