From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Lan, Tianyu" Subject: RE: [RFC v2 PATCH] kvm tools, qcow: Add the support for copy-on-write clusters Date: Sun, 20 Nov 2011 14:14:44 +0800 Message-ID: <625BA99ED14B2D499DC4E29D8138F150690D67CB02@shsmsx502.ccr.corp.intel.com> References: <1321606038-29989-1-git-send-email-tianyu.lan@intel.com> <4EC62F14.6090505@redhat.com> <625BA99ED14B2D499DC4E29D8138F1506860C491FF@shsmsx502.ccr.corp.intel.com> <625BA99ED14B2D499DC4E29D8138F1506860C49247@shsmsx502.ccr.corp.intel.com> <1321719998.2974.9.camel@sasha> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Cc: Kevin Wolf , "penberg@kernel.org" , "kvm@vger.kernel.org" , "asias.hejun@gmail.com" , "prasadjoshi124@gmail.com" To: Sasha Levin Return-path: Received: from mga03.intel.com ([143.182.124.21]:39952 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750808Ab1KTGPI convert rfc822-to-8bit (ORCPT ); Sun, 20 Nov 2011 01:15:08 -0500 In-Reply-To: <1321719998.2974.9.camel@sasha> Content-Language: en-US Sender: kvm-owner@vger.kernel.org List-ID: OK. Thx. But fsync is too slow. I try to find a way to sync a range of file. Are there any solutions to meet my purpose? Thanks Tianyu Lan -----Original Message----- From: Sasha Levin [mailto:levinsasha928@gmail.com] Sent: Sunday, November 20, 2011 12:27 AM To: Lan, Tianyu Cc: Kevin Wolf; penberg@kernel.org; kvm@vger.kernel.org; asias.hejun@gmail.com; prasadjoshi124@gmail.com Subject: RE: [RFC v2 PATCH] kvm tools, qcow: Add the support for copy-on-write clusters On Sat, 2011-11-19 at 23:30 +0800, Lan, Tianyu wrote: > How about using the sync_file_range to sync the metadata? sync_file_range() is only a hint, it doesn't actually assure anything. -- Sasha.