cow: make writes go at a less indecent speed
commit26ae980492920e417bc91761cc85950f18e41f85
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 4 Sep 2013 17:00:19 +0000 (4 19:00 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 6 Sep 2013 13:25:08 +0000 (6 15:25 +0200)
treee55983acdd5ed79a40916fc955c34faa469172a0
parent276cbc7f2fc1bd3810887995dbc9cbb739c975bf
cow: make writes go at a less indecent speed

Only sync once per write, rather than once per sector.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/cow.c