Linux-kernel mailing list archive 2000-15,: Re: posix_fallocate

# Re: posix_fallocate

Jamie Lokier (lk@tantalophile.demon.co.uk)
Fri, 14 Apr 2000 22:48:57 +0200

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Johannes Erdfelt: "Re: devfs "instant replay" (Was: devfs - why not ?)"
- Previous message: Jamie Lokier: "Re: posix_fadvise"

Ulrich Drepper wrote:
> > You could try using sendfile from /dev/zero -- that gives the kernel or
> > fs a chance to optimise that path in future.
>
> One must not change the file pointer position. Therefore sendfile is out.

Anyway it isn't guaranteed to work -- I would guess an fs is free to
convert zero blocks to holes as an optimisation.

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

- Next message: Johannes Erdfelt: "Re: devfs "instant replay" (Was: devfs - why not ?)"
- Previous message: Jamie Lokier: "Re: posix_fadvise"