Displaying 1 result from an estimated 1 matches for "39cae92".
Did you mean:
396ee92
2008 Mar 23
1
[PATCH] allow to change the block size used to handle sparse files
...ications from GPFS to GPFS or GPFS to SAN FS.
-Andrea
---
Allow to change the block size used to handle sparse files.
fileio.c | 3 ++-
options.c | 9 +++++++++
rsync.yo | 10 ++++++++++
3 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/fileio.c b/fileio.c
index f086494..39cae92 100644
--- a/fileio.c
+++ b/fileio.c
@@ -26,6 +26,7 @@
#endif
extern int sparse_files;
+extern long sparse_files_block_size;
static char last_byte;
static size_t sparse_seek = 0;
@@ -115,7 +116,7 @@ int write_file(int f,char *buf,size_t len)
while (len > 0) {
int r1;
if (sparse_f...