[PATCH] allow to change the block size used to handle sparse
wayned at samba.org
Sun Mar 23 15:19:31 GMT 2008
On Sun, Mar 23, 2008 at 11:51:08AM +0100, Andrea Righi wrote:
> Allow to change the block size used to handle sparse files.
Thanks. I've added a new patches file, sparse-block.diff, with your
patch (slightly tweaked).
I think that long-term we probably want to rewrite the sparse-file code
to have a certain minimum size that it will skip with a seek (since the
current code might even try to skip a single byte, and it doesn't help
to skip anything less than the file's underlying block size). It would
also be nice to automatically buffer non-skipped data into larger blocks
for writing, no matter how small the sparse-block size is.
More information about the rsync