]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools, qcow: Flush only dirty L2 tables
authorPekka Enberg <penberg@kernel.org>
Sat, 9 Jul 2011 12:15:52 +0000 (15:15 +0300)
committerPekka Enberg <penberg@kernel.org>
Sun, 10 Jul 2011 12:23:23 +0000 (15:23 +0300)
commit7135b8db728326665c341f3915f7d74a555dc656
treeaebbd6b0d33d07a6bfea9d1ee8a3ded4e56fbc2e
parent4a69b1c93fcd595ed040c2e2ed69d265a88f0de3
kvm tools, qcow: Flush only dirty L2 tables

This patch improves qcow_l2_cache_write() to only flush dirty L2 tables.

Cc: Asias He <asias.hejun@gmail.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Prasad Joshi <prasadjoshi124@gmail.com>
Cc: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/disk/qcow.c
tools/kvm/include/kvm/qcow.h