qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] block: Add -drive detect_zero=on|off option to


From: Richard W.M. Jones
Subject: Re: [Qemu-devel] [PATCH] block: Add -drive detect_zero=on|off option to detect all zero writes.
Date: Mon, 30 Jul 2012 16:52:39 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]