From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [ANNOUNCE] Native Linux KVM tool v2 Date: Thu, 16 Jun 2011 13:22:30 +0200 Message-ID: <20110616112230.GD26110@elte.hu> References: <7A30A509-47AA-4E72-ABF3-937005900F9D@suse.de> <4DF93010.1040006@codemonkey.ws> <4DF935C1.4020000@codemonkey.ws> <20110616092429.GA5484@infradead.org> <20110616094810.GA19965@infradead.org> <20110616100239.GA29262@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Pekka Enberg , Anthony Liguori , Alexander Graf , Prasad Joshi , Avi Kivity , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Andrew Morton , Linus Torvalds , Sasha Levin , Cyrill Gorcunov , Asias He , Jens Axboe To: Christoph Hellwig Return-path: Received: from mx3.mail.elte.hu ([157.181.1.138]:45965 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754356Ab1FPLWr (ORCPT ); Thu, 16 Jun 2011 07:22:47 -0400 Content-Disposition: inline In-Reply-To: <20110616100239.GA29262@infradead.org> Sender: kvm-owner@vger.kernel.org List-ID: * Christoph Hellwig wrote: > On Thu, Jun 16, 2011 at 12:57:36PM +0300, Pekka Enberg wrote: > > Uh-oh. Someone needs to apply this patch to sync_file_range(): >=20 > There actually are a few cases where using it makes sense. [...] Such as? I don't think apps can actually know whether disk blocks=20 have been 'instantiated' by a particular filesystem or not, so the=20 manpage: Some details None of these operations write out the file=E2=80=99s metadata.= Therefore, unless the appli- cation is strictly performing overwrites of already-instantiated= disk blocks, there are no guarantees that the data will be available after a crash. is rather misleading. This is a dangerous (and rather pointless)=20 syscall and this should be made much clearer in the manpage. Thanks, Ingo