summaryrefslogtreecommitdiff
path: root/poison.h
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2010-11-08 17:02:55 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-11-21 09:16:56 -0600
commit83bee92d1505451212e95aa2773ad0d420eccdca (patch)
tree1a38518010ee60df890d0fb80deca9c49ad8ff9a /poison.h
parent114e48b5af8d666aae19920862c3b69f1720c9f1 (diff)
downloadqemu-83bee92d1505451212e95aa2773ad0d420eccdca.tar.gz
qemu-83bee92d1505451212e95aa2773ad0d420eccdca.tar.bz2
qemu-83bee92d1505451212e95aa2773ad0d420eccdca.zip
block: set sector dirty on AIO write completion
Sectors are marked dirty in the bitmap on AIO submission. This is wrong since data has not reached storage. Set a given sector as dirty in the dirty bitmap on AIO completion, so that reading a sector marked as dirty is guaranteed to return uptodate data. Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'poison.h')
0 files changed, 0 insertions, 0 deletions