]> git.proxmox.com Git - qemu.git/commit
qcow2-cache: Empty cache
authorMax Reitz <mreitz@redhat.com>
Tue, 3 Sep 2013 08:09:51 +0000 (10:09 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 12 Sep 2013 08:12:46 +0000 (10:12 +0200)
commite7108feaace8e02b3a4bf010448fc2744f753381
treebc31fa3048d8914a83ae39f2fcdb640bc64cd630
parent6f176b48f9f98820ed192a1355cc1c7c08ddf46b
qcow2-cache: Empty cache

Add a function for emptying a cache, i.e., flushing it and marking all
elements invalid.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-cache.c
block/qcow2.h