diff options
author | Kevin Wolf <kwolf@redhat.com> | 2012-12-07 18:08:46 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-12-13 15:37:59 +0100 |
commit | f50f88b9fea09fef12cc293126cf45dcf0ef600b (patch) | |
tree | 2060b173e0069405cca56846cce4fe44e793952c /cursor.c | |
parent | 060bee8943c27d4d53f65570fafaa2559fcd87c3 (diff) | |
download | qemu-f50f88b9fea09fef12cc293126cf45dcf0ef600b.zip |
qcow2: Allocate l2meta only for cluster allocations
Even for writes to already allocated clusters, an l2meta is allocated,
though it stays effectively unused. After this patch, only allocating
requests still have one. Each l2meta now describes an in-flight request
that writes to clusters that are not yet hooked up in the L2 table.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'cursor.c')
0 files changed, 0 insertions, 0 deletions