]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools, qcow: Don't fdatasync() L2 table writeout
authorPekka Enberg <penberg@kernel.org>
Sat, 9 Jul 2011 07:37:58 +0000 (10:37 +0300)
committerPekka Enberg <penberg@kernel.org>
Sun, 10 Jul 2011 12:23:22 +0000 (15:23 +0300)
commit273197ca3aca5395aab3c7c1b699065bff8f7df4
tree6881366c202f11853a7a16dc7aab48b9e2ec135f
parent5e38a00429e5d65bbeeb348593c5b5ee62458d4f
kvm tools, qcow: Don't fdatasync() L2 table writeout

There's now now point in making sure new L2 tables actually hit the disk before
we write out data to clusters because they are not visible on-disk until
qcow_disk_flush() is called which flushes the L1 table.

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