Skip to content
Snippets Groups Projects
Commit f50f88b9 authored by Kevin Wolf's avatar Kevin Wolf
Browse files

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: default avatarKevin Wolf <kwolf@redhat.com>
parent 060bee89
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment