Alberto Garcia baf07d60f5 qcow2: simplify qcow2_cache_put() and qcow2_cache_entry_mark_dirty()
Since all tables are now stored together, it is possible to obtain
the position of a particular table directly from its address, so the
operation becomes O(1).

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>
2015-05-22 17:08:01 +02:00
..
2015-04-28 15:36:09 +02:00
2015-02-06 17:24:21 +01:00
2015-04-28 15:36:09 +02:00
2015-05-11 08:59:07 -04:00
2015-02-16 15:07:19 +00:00
2015-04-28 15:36:08 +02:00