-
Marcelo Tosatti authored
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>Marcelo Tosatti authoredSectors 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>
Loading