parallels: dirty BAT properly for continuous allocations
commitc9f6856ded10602147ca1d1806e7afb545430fd9
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tue, 17 Nov 2015 17:02:58 +0000 (17 20:02 +0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 24 Nov 2015 01:25:36 +0000 (24 09:25 +0800)
tree1a1337a727ff10ff8bf5fc9a30505bf3fd86242c
parent5522a841cab5f15ac0f8d207b320c21755a7a1a5
parallels: dirty BAT properly for continuous allocations

This patch marks part of the BAT dirty properly. There is a possibility that
multy-block allocation could have one block allocated on one BAT page and
next block on the next page. The code without the patch could not save
updated position to the file.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
Message-id: 1447779778-26062-1-git-send-email-den@openvz.org
CC: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/parallels.c