On Tue, Mar 10, 2015 at 11:51:21AM +0300, Denis V. Lunev wrote: > Try to perform IO for the biggest continuous block possible. > All blocks abscent in the image are accounted in the same type > and preallocation is made for all of them at once. > > The performance for sequential write is increased from 200 Gb/sec to > 235 Gb/sec on my SSD HDD. > > 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 | 44 ++++++++++++++++++++++++-------------------- > 1 file changed, 24 insertions(+), 20 deletions(-)
Reviewed-by: Roman Kagan <rka...@parallels.com> Roman.