[lkml]   [2003]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Is there a "make hole" (truncate in middle) syscall?

On Thu, 4 Dec 2003, Rob Landley wrote:

> What are the downsides of holes? [...] is there a performance penalty to
> having a file with 1000 4k holes in it, etc...)

Depends what you do, what fs you use. Using XFS XFS_IOC_GETBMAPX you might
get a huge improvement, see e.g. some numbers,

The problem is, 0 general purpose (like cp, tar, cat, etc) util supports
it, you have to code your app accordingly.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:59    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean