From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VBLbx-0003sc-Bw for user-mode-linux-devel@lists.sourceforge.net; Mon, 19 Aug 2013 09:18:53 +0000 Received: from mx1.redhat.com ([209.132.183.28]) by sog-mx-4.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1VBLbu-0006hs-3b for user-mode-linux-devel@lists.sourceforge.net; Mon, 19 Aug 2013 09:18:53 +0000 Date: Mon, 19 Aug 2013 10:18:39 +0100 From: "Richard W.M. Jones" Message-ID: <20130819091839.GX5918@redhat.com> References: <1376777374-17521-1-git-send-email-richard@nod.at> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1376777374-17521-1-git-send-email-richard@nod.at> List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: user-mode-linux-devel-bounces@lists.sourceforge.net Subject: Re: [uml-devel] [PATCH] um: ubd: Add REQ_FLUSH suppport To: Richard Weinberger Cc: viro@zeniv.linux.org.uk, user-mode-linux-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org On Sun, Aug 18, 2013 at 12:09:34AM +0200, Richard Weinberger wrote: > UML's block device driver does not support write barriers, > to support this this patch adds REQ_FLUSH suppport. > Every time the block layer sends a REQ_FLUSH we fsync() now > our backing file to guarantee data consistency. This fixes the sync problem I saw before. So: Tested-by: Richard W.M. Jones Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751280Ab3HSJTA (ORCPT ); Mon, 19 Aug 2013 05:19:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58074 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751020Ab3HSJS6 (ORCPT ); Mon, 19 Aug 2013 05:18:58 -0400 Date: Mon, 19 Aug 2013 10:18:39 +0100 From: "Richard W.M. Jones" To: Richard Weinberger Cc: viro@zeniv.linux.org.uk, user-mode-linux-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH] um: ubd: Add REQ_FLUSH suppport Message-ID: <20130819091839.GX5918@redhat.com> References: <1376777374-17521-1-git-send-email-richard@nod.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1376777374-17521-1-git-send-email-richard@nod.at> User-Agent: Mutt/1.5.20 (2009-12-10) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 18, 2013 at 12:09:34AM +0200, Richard Weinberger wrote: > UML's block device driver does not support write barriers, > to support this this patch adds REQ_FLUSH suppport. > Every time the block layer sends a REQ_FLUSH we fsync() now > our backing file to guarantee data consistency. This fixes the sync problem I saw before. So: Tested-by: Richard W.M. Jones Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v