On Tue, Mar 10, 2015 at 11:51:19AM +0300, Denis V. Lunev wrote: > This is preparational commit for tweaks in Parallels image expansion. > The idea is that enlarge via truncate by one data block is slow. It > would be much better to use fallocate via bdrv_write_zeroes and > expand by some significant amount at once. > > This patch just adds proper parameters into BDRVParallelsState and > performs options parsing in parallels_open. > > Signed-off-by: Denis V. Lunev <d...@openvz.org> > CC: Roman Kagan <rka...@parallels.com> > CC: Kevin Wolf <kw...@redhat.com> > CC: Stefan Hajnoczi <stefa...@redhat.com> > --- > block/parallels.c | 72 > +++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 72 insertions(+)
Reviewed-by: Roman Kagan <rka...@parallels.com> Roman.