block: add BdrvDirtyBitmap documentation
Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 1429314609-29776-14-git-send-email-jsnow@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
a113534ffb
commit
aa0c7ca506
10
block.c
10
block.c
@ -61,11 +61,11 @@
|
|||||||
* or enabled. A frozen bitmap can only abdicate() or reclaim().
|
* or enabled. A frozen bitmap can only abdicate() or reclaim().
|
||||||
*/
|
*/
|
||||||
struct BdrvDirtyBitmap {
|
struct BdrvDirtyBitmap {
|
||||||
HBitmap *bitmap;
|
HBitmap *bitmap; /* Dirty sector bitmap implementation */
|
||||||
BdrvDirtyBitmap *successor;
|
BdrvDirtyBitmap *successor; /* Anonymous child; implies frozen status */
|
||||||
int64_t size;
|
char *name; /* Optional non-empty unique ID */
|
||||||
char *name;
|
int64_t size; /* Size of the bitmap (Number of sectors) */
|
||||||
bool disabled;
|
bool disabled; /* Bitmap is read-only */
|
||||||
QLIST_ENTRY(BdrvDirtyBitmap) list;
|
QLIST_ENTRY(BdrvDirtyBitmap) list;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user