From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleg Drokin Subject: Re: Horrible ftruncate performance Date: Sun, 13 Jul 2003 17:03:24 +0400 Message-ID: <20030713130324.GA6208@namesys.com> References: <200307112151.05829.Dieter.Nuetzel@hamburg.de> Mime-Version: 1.0 Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com Content-Disposition: inline In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Szakacsits Szabolcs Cc: Dieter N?tzel , Chris Mason , Marc-Christian Petersen , reiserfs-list@namesys.com, Philippe Gramoull? Hello! On Sat, Jul 12, 2003 at 03:37:48AM +0200, Szakacsits Szabolcs wrote: > Ok, last complain for today :) I couldn't find an API (I admit, because of > the above reasons, I didn't search hard) to query the map of disk blocks or > [offsets, length] couples used by a file, like XFS's XFS_IOC_GETBMAPX does. Something like FIBMAP ioctl? > This makes also ReiserFS inadequate to work with sparse files efficiently. The real lack is for the API to "punch a hole" that was recently discussed on the list already. Bye, Oleg