From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:51235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHJSN-0001zQ-FL for qemu-devel@nongnu.org; Fri, 21 Oct 2011 14:04:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RHJSL-0004cH-1c for qemu-devel@nongnu.org; Fri, 21 Oct 2011 14:04:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHJSK-0004bu-Ma for qemu-devel@nongnu.org; Fri, 21 Oct 2011 14:04:32 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p9LI4U5t006208 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 21 Oct 2011 14:04:31 -0400 From: Kevin Wolf Date: Fri, 21 Oct 2011 19:08:30 +0200 Message-Id: <1319216912-26964-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] block: Write out internal caches even with cache=unsafe List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, avi@redhat.com Avi complained that not even writing out qcow2's cache on bdrv_flush() made cache=unsafe too unsafe to be useful. He's got a point. Kevin Wolf (2): raw-posix: Convert to bdrv_co_flush block: Handle cache=unsafe only in raw-posix/win32 block.c | 4 +-- block/raw-posix.c | 57 ++++++++++++++++++++++++++++++++++++++++------------ block/raw-win32.c | 4 +++ 3 files changed, 49 insertions(+), 16 deletions(-) -- 1.7.6.4