Searched hist:"01979 a98d75b49c2acbbbb71521c285f8d8f9fb7" (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/block/ |
H A D | qed-check.c | 01979a98d75b49c2acbbbb71521c285f8d8f9fb7 Mon Dec 06 10:08:03 CST 2010 Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> qed: Consistency check support
This patch adds support for the qemu-img check command. It also introduces a dirty bit in the qed header to mark modified images as needing a check. This bit is cleared when the image file is closed cleanly.
If an image file is opened and it has the dirty bit set, a consistency check will run and try to fix corrupted table offsets. These corruptions may occur if there is power loss while an allocating write is performed. Once the image is fixed it opens as normal again.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
H A D | qed.h | diff 01979a98d75b49c2acbbbb71521c285f8d8f9fb7 Mon Dec 06 10:08:03 CST 2010 Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> qed: Consistency check support
This patch adds support for the qemu-img check command. It also introduces a dirty bit in the qed header to mark modified images as needing a check. This bit is cleared when the image file is closed cleanly.
If an image file is opened and it has the dirty bit set, a consistency check will run and try to fix corrupted table offsets. These corruptions may occur if there is power loss while an allocating write is performed. Once the image is fixed it opens as normal again.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
H A D | qed.c | diff 01979a98d75b49c2acbbbb71521c285f8d8f9fb7 Mon Dec 06 10:08:03 CST 2010 Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> qed: Consistency check support
This patch adds support for the qemu-img check command. It also introduces a dirty bit in the qed header to mark modified images as needing a check. This bit is cleared when the image file is closed cleanly.
If an image file is opened and it has the dirty bit set, a consistency check will run and try to fix corrupted table offsets. These corruptions may occur if there is power loss while an allocating write is performed. Once the image is fixed it opens as normal again.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|