Revision f214978a block/qcow2.h
b/block/qcow2.h | ||
---|---|---|
98 | 98 |
uint8_t *cluster_cache; |
99 | 99 |
uint8_t *cluster_data; |
100 | 100 |
uint64_t cluster_cache_offset; |
101 |
LIST_HEAD(QCowClusterAlloc, QCowL2Meta) cluster_allocs; |
|
101 | 102 |
|
102 | 103 |
uint64_t *refcount_table; |
103 | 104 |
uint64_t refcount_table_offset; |
... | ... | |
128 | 129 |
int64_t refcount_block_offset; |
129 | 130 |
} QCowCreateState; |
130 | 131 |
|
132 |
struct QCowAIOCB; |
|
133 |
|
|
131 | 134 |
/* XXX This could be private for qcow2-cluster.c */ |
132 | 135 |
typedef struct QCowL2Meta |
133 | 136 |
{ |
... | ... | |
135 | 138 |
int n_start; |
136 | 139 |
int nb_available; |
137 | 140 |
int nb_clusters; |
141 |
struct QCowL2Meta *depends_on; |
|
142 |
LIST_HEAD(QCowAioDependencies, QCowAIOCB) dependent_requests; |
|
143 |
|
|
144 |
LIST_ENTRY(QCowL2Meta) next_in_flight; |
|
138 | 145 |
} QCowL2Meta; |
139 | 146 |
|
140 | 147 |
static inline int size_to_clusters(BDRVQcowState *s, int64_t size) |
Also available in: Unified diff