Re: [Qemu-devel] [Qemu-block] [PATCH 1/2] ignore bdrv_flush operation when no qcow2 cache item is dirty

2015-07-21 Thread Eric Blake
On 07/20/2015 07:51 PM, Qingshu Chen wrote: I've made a mistake on the series. Following is the new patch: When re-sending a patch, it's better to start a new thread and include a 'v2' in the subject line. From ef1079b422eef40a802ca13e249795005efa441d Mon Sep 17 00:00:00 2001 From: Qingshu

Re: [Qemu-devel] [Qemu-block] [PATCH 1/2] ignore bdrv_flush operation when no qcow2 cache item is dirty

2015-07-20 Thread Eric Blake
[patches should always be sent to qemu-devel, even if qemu-block is also in the to/cc list] On 07/08/2015 01:26 AM, Qingshu Chen wrote: qcow2_cache_flush() writes dirty cache to the disk and invokes bdrv_flush() to make the data durable. But even if there is no dirty cache, qcow2_cache_flush()

Re: [Qemu-devel] [Qemu-block] [PATCH 1/2] ignore bdrv_flush operation when no qcow2 cache item is dirty

2015-07-20 Thread Qingshu Chen
I've made a mistake on the series. Following is the new patch: From ef1079b422eef40a802ca13e249795005efa441d Mon Sep 17 00:00:00 2001 From: Qingshu Chen 1150163...@qq.com Date: Tue, 21 Jul 2015 09:46:08 +0800 Subject: [PATCH] ignore bdrv_flush operation when no qcow2 cache item is dirty