summaryrefslogtreecommitdiffstats
path: root/fsdev
diff options
context:
space:
mode:
authorAlberto Garcia2015-05-11 14:54:56 +0200
committerKevin Wolf2015-05-22 17:08:01 +0200
commitfdfbca82a0874916007ca76323cd35f2af8a2ef3 (patch)
tree45feadf98a360346bfc97582a426b1408537f9a1 /fsdev
parentqcow2: use an LRU algorithm to replace entries from the L2 cache (diff)
downloadqemu-fdfbca82a0874916007ca76323cd35f2af8a2ef3.tar.gz
qemu-fdfbca82a0874916007ca76323cd35f2af8a2ef3.tar.xz
qemu-fdfbca82a0874916007ca76323cd35f2af8a2ef3.zip
qcow2: remove qcow2_cache_find_entry_to_replace()
A cache miss means that the whole array was traversed and the entry we were looking for was not found, so there's no need to traverse it again in order to select an entry to replace. Signed-off-by: Alberto Garcia <berto@igalia.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'fsdev')
0 files changed, 0 insertions, 0 deletions