]> git.proxmox.com Git - qemu.git/commit
qed: Images with backing file do not require QED_F_NEED_CHECK
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 28 Jan 2011 17:11:59 +0000 (17:11 +0000)
committerKevin Wolf <kwolf@redhat.com>
Mon, 31 Jan 2011 09:03:00 +0000 (10:03 +0100)
commit0d09c7970063ecdabdc2841ffa32e1cf3e032336
treefc292d1cd6e2d09cd3a65b0b30ca08d5e5ffbb96
parent5ea929e3d13622e5d06ca8795819f1590644cda2
qed: Images with backing file do not require QED_F_NEED_CHECK

The consistency check on open is necessary in order to fix inconsistent
table offsets left as a result of a crash mid-operation.  Images with a
backing file actually flush before updating table offsets and are
therefore guaranteed to be consistent.  Do not mark these images dirty.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qed.c