Received: from eggs.gnu.org ([208.118.235.92]:58521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvsH4-0005Eq-Bw for qemu-devel@nongnu.org; Mon, 30 Jul 2012 11:52:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SvsGy-000406-9E for qemu-devel@nongnu.org; Mon, 30 Jul 2012 11:52:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:12988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvsGy-000400-00 for qemu-devel@nongnu.org; Mon, 30 Jul 2012 11:52:44 -0400 Date: Mon, 30 Jul 2012 16:52:39 +0100 From: "Richard W.M. Jones" Message-ID: <20120730155239.GG2701@amd.home.annexia.org> References: <1343318389-28877-1-git-send-email-rjones@redhat.com> <1343318389-28877-2-git-send-email-rjones@redhat.com> <87txwt8fvl.fsf@codemonkey.ws> <5012E592.8010400@redhat.com> <20120730135136.GE2701@amd.home.annexia.org> <501692DF.5090904@redhat.com> <5016944B.8070501@redhat.com> <5016959C.5070004@redhat.com> <50169C61.3010800@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50169C61.3010800@redhat.com> Subject: Re: [Qemu-devel] [PATCH] block: Add -drive detect_zero=on|off option to detect all zero writes. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Paolo Bonzini , Eric Blake , qemu-devel@nongnu.org, Anthony Liguori On Mon, Jul 30, 2012 at 04:38:25PM +0200, Kevin Wolf wrote: > Am 30.07.2012 16:09, schrieb Paolo Bonzini: > > Il 30/07/2012 16:03, Eric Blake ha scritto: > >> Ooh, nice bullet point to add to my upcoming presentation at Linux > >> Plumber's Conference in a month: > >> http://summit.linuxplumbersconf.org/lpc-2012/meeting/33/lpc2012-ref-improved-virt-disk-handling/ > >> > >> Does anyone else have some annoyances about large sparse file handling > >> where improving the kernel would make our life easier, that I should > >> incorporate into my discussion? > > > > In case you haven't mentioned them: > > > > * lseek(SEEK_HOLE/SEEK_DATA) support in the block layer using GET LBA > > STATUS. > > > > * support for connecting to an iSCSI target without scanning partitions. > > > > * support for fsync/fdatasync with ranges (or alternatively, > > sync_file_range that writes metadata). > > In the context of libguestfs we recently found this one: > > * sync() should actually flush the disk caches I have high hopes that the sync patches by Jan Kara (9e9ad5f408..4ea425b63a) that went upstream a couple of weeks ago should fix this properly, although I've not tried a kernel with these patches yet. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top