Displaying 4 results from an estimated 4 matches for "def_compress_level".
2020 Feb 06
0
[PATCH] Add support for zstd compression
...#include <zlib.h>
+#ifdef HAVE_LIBZSTD
+#include <zstd.h>
+#endif
extern int module_id;
extern int local_server;
@@ -77,6 +80,7 @@ int protocol_version = PROTOCOL_VERSION;
int sparse_files = 0;
int preallocate_files = 0;
int do_compression = 0;
+int do_compression_zstd = 0;
int def_compress_level = NOT_SPECIFIED;
int am_root = 0; /* 0 = normal, 1 = root, 2 = --super, -1 = --fake-super */
int am_server = 0;
@@ -764,6 +768,9 @@ void usage(enum logcode F)
rprintf(F," --copy-dest=DIR ... and include copies of unchanged files\n");
rprintf(F," --link-dest=DI...
2008 Mar 23
1
[PATCH] allow to change the block size used to handle sparse files
...ions.c b/options.c
index f2d23f6..aaffdc7 100644
--- a/options.c
+++ b/options.c
@@ -73,6 +73,7 @@ int remove_source_files = 0;
int one_file_system = 0;
int protocol_version = PROTOCOL_VERSION;
int sparse_files = 0;
+long sparse_files_block_size = SPARSE_WRITE_SIZE;
int do_compression = 0;
int def_compress_level = Z_DEFAULT_COMPRESSION;
int am_root = 0; /* 0 = normal, 1 = root, 2 = --super, -1 = --fake-super */
@@ -358,6 +359,7 @@ void usage(enum logcode F)
rprintf(F," --fake-super store/recover privileged attrs using xattrs\n");
#endif
rprintf(F," -S, --sparse...
2008 Feb 15
4
Revised flags patch
..., int *ar
* sans -r because the --no-r option was added at the same time. */
if (xfer_dirs && !recurse && delete_mode && am_sender)
args[ac++] = "--no-r";
+
+ if (preserve_fileflags)
+ args[ac++] = "--fileflags";
if (do_compression && def_compress_level != Z_DEFAULT_COMPRESSION) {
if (asprintf(&arg, "--compress-level=%d", def_compress_level) < 0)
diff -brpu rsync-3.0.0pre9/proto.h rsync-3.0.0pre9-flags/proto.h
--- rsync-3.0.0pre9/proto.h Mon Feb 11 05:12:39 2008
+++ rsync-3.0.0pre9-flags/proto.h Fri Feb 15 19:35:16 2008
@@ -267...
2007 Sep 22
0
rsync build on IA64 using icc
...: remark #1419: external declaration in primary source file
extern int do_compression;
^
token.c(27): remark #1419: external declaration in primary source file
extern int module_id;
^
token.c(28): remark #1419: external declaration in primary source file
extern int def_compress_level;
^
token.c(53): remark #810: conversion from "int" to "char" may lose significant bits
*t++ = tolower(*(unsigned char *)f);
^
token.c(200): remark #810: conversion from "int" to "unsigned char" may lose significant bits...