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 Kevin