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. ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html