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/
This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:25 EST