[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH v6 13/21] block: add BdrvDirtyBitmap documentation
From: |
John Snow |
Subject: |
[Qemu-block] [PATCH v6 13/21] block: add BdrvDirtyBitmap documentation |
Date: |
Fri, 17 Apr 2015 19:50:01 -0400 |
Signed-off-by: John Snow <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
---
block.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/block.c b/block.c
index ca73a6a..30c8568 100644
--- a/block.c
+++ b/block.c
@@ -60,11 +60,11 @@
* or enabled. A frozen bitmap can only abdicate() or reclaim().
*/
struct BdrvDirtyBitmap {
- HBitmap *bitmap;
- BdrvDirtyBitmap *successor;
- int64_t size;
- char *name;
- bool disabled;
+ HBitmap *bitmap; /* Dirty sector bitmap implementation */
+ BdrvDirtyBitmap *successor; /* Anonymous child; implies frozen status */
+ char *name; /* Optional non-empty unique ID */
+ int64_t size; /* Size of the bitmap (Number of sectors) */
+ bool disabled; /* Bitmap is read-only */
QLIST_ENTRY(BdrvDirtyBitmap) list;
};
--
2.1.0
- Re: [Qemu-block] [Qemu-devel] [PATCH v6 07/21] hbitmap: add hbitmap_merge, (continued)
- [Qemu-block] [PATCH v6 08/21] block: Add bitmap disabled status, John Snow, 2015/04/17
- [Qemu-block] [PATCH v6 09/21] block: Add bitmap successors, John Snow, 2015/04/17
- [Qemu-block] [PATCH v6 12/21] qmp: Add dirty bitmap status field in query-block, John Snow, 2015/04/17
- [Qemu-block] [PATCH v6 10/21] qmp: Add support of "dirty-bitmap" sync mode for drive-backup, John Snow, 2015/04/17
- [Qemu-block] [PATCH v6 13/21] block: add BdrvDirtyBitmap documentation,
John Snow <=
- [Qemu-block] [PATCH v6 11/21] qmp: add block-dirty-bitmap-clear, John Snow, 2015/04/17
- [Qemu-block] [PATCH v6 14/21] block: Ensure consistent bitmap function prototypes, John Snow, 2015/04/17
- [Qemu-block] [PATCH v6 16/21] hbitmap: truncate tests, John Snow, 2015/04/17
- [Qemu-block] [PATCH v6 15/21] block: Resize bitmaps on bdrv_truncate, John Snow, 2015/04/17
- [Qemu-block] [PATCH v6 18/21] iotests: add QMP event waiting queue, John Snow, 2015/04/17
- [Qemu-block] [PATCH v6 17/21] iotests: add invalid input incremental backup tests, John Snow, 2015/04/17