summaryrefslogtreecommitdiffstats
path: root/scripts/update-linux-headers.sh
diff options
context:
space:
mode:
authorPaolo Bonzini2013-01-14 16:26:58 +0100
committerStefan Hajnoczi2013-01-15 10:03:48 +0100
commitdf702c9b4c1d049b12d7cf2f2ee607ff32f766cb (patch)
tree98d268644fff7121bc9063488d9dcadea4fa7f53 /scripts/update-linux-headers.sh
parentide: issue discard asynchronously but serialize the pieces (diff)
downloadqemu-df702c9b4c1d049b12d7cf2f2ee607ff32f766cb.tar.gz
qemu-df702c9b4c1d049b12d7cf2f2ee607ff32f766cb.tar.xz
qemu-df702c9b4c1d049b12d7cf2f2ee607ff32f766cb.zip
block: clear dirty bitmap when discarding
Note that resetting bits in the dirty bitmap is done _before_ actually processing the request. Writes, instead, set bits after the request is completed. This way, when there are concurrent write and discard requests, the outcome will always be that the blocks are marked dirty. This scenario should never happen, but it is safer to do it this way. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/update-linux-headers.sh')
0 files changed, 0 insertions, 0 deletions