]> git.proxmox.com Git - qemu.git/commit
block: Fix multiwrite with overlapping requests
authorKevin Wolf <kwolf@redhat.com>
Fri, 21 May 2010 09:09:42 +0000 (11:09 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Wed, 9 Jun 2010 16:36:09 +0000 (18:36 +0200)
commitdb3519a9ece7ee5005f75d5bfa27fccc6d6bc16a
treed95e255569099330cf05207af253a34a690eac50
parent258e351d128bab86c185aa4836654aebc22a82a1
block: Fix multiwrite with overlapping requests

With overlapping requests, the total number of sectors is smaller than the sum
of the nb_sectors of both requests.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit cbf1dff2f1033cadcb15c0ffc9c0a3d039d8ed42)
block.c