| To: | Eric Blake <eblake@xxxxxxxxxx> |
|---|---|
| Subject: | Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?) |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Fri, 15 Apr 2011 13:26:03 -0400 |
| Cc: | Christoph Hellwig <hch@xxxxxxxxxxxxx>, Jim Meyering <jim@xxxxxxxxxxxx>, Eric Sandeen <sandeen@xxxxxxxxxxx>, Dave Chinner <david@xxxxxxxxxxxxx>, xfs-oss <xfs@xxxxxxxxxxx>, coreutils@xxxxxxx, linux-ext4@xxxxxxxxxxxxxxx, Markus Trippelsdorf <markus@xxxxxxxxxxxxxxx> |
| In-reply-to: | <4DA87F43.5040807@xxxxxxxxxx> |
| References: | <20110414120635.GB1678@xxxxxxxxxxxxxx> <20110414140222.GB1679@xxxxxxxxxxxxxx> <4DA70BD3.1070409@xxxxxxxxxxxxxx> <4DA717B2.3020305@xxxxxxxxxxx> <20110414225904.GK21395@dastard> <4DA7836A.5040604@xxxxxxxxxxxxxx> <20110415000940.GL21395@dastard> <87sjtjq4ir.fsf@xxxxxxxxxxxxxxxx> <20110415171629.GA9088@xxxxxxxxxxxxx> <4DA87F43.5040807@xxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Fri, Apr 15, 2011 at 11:24:19AM -0600, Eric Blake wrote: > Would it be worth borrowing from Solaris' semantics and adding SEEK_HOLE > and SEEK_DATA to lseek(2), as a higher level (less-detailed, but easier > to define and easier to use) interface for discovering the regions of a > file that only contain NUL bytes? Yes, I've already suggested that both in this thread and on IRC. For efficient copies it's the only usable interface. |
| Previous by Date: | Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Eric Blake |
|---|---|
| Next by Date: | Re: xfs build warning, Christoph Hellwig |
| Previous by Thread: | Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Eric Blake |
| Next by Thread: | Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Andreas Dilger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |