search for: preallocate_files

Displaying 3 results from an estimated 3 matches for "preallocate_files".

2019 Jan 15
2
preallocate working incorrectly in 3.1.3
...y-transfered portion. I believe this is due to the filesize misrepresenting how much data was actually written. in syscall.c in appears maybe there is a logic error (that should be bitwise-OR, not logical-OR): OFF_T do_fallocate(int fd, OFF_T offset, OFF_T length) { int opts = inplace || preallocate_files ? 0 : DO_FALLOC_OPTIONS; -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20190114/ea6f33b6/attachment.html>
2019 Jun 26
2
Allow "--in-place" as an alternative option name for "--inplace"
...it a/options.c b/options.c index e5b0cb68..7ff0c51d 100644 --- a/options.c +++ b/options.c @@ -926,6 +926,7 @@ static struct poptOption long_options[] = { {"no-S", 0, POPT_ARG_VAL, &sparse_files, 0, 0, 0 }, {"preallocate", 0, POPT_ARG_NONE, &preallocate_files, 0, 0, 0}, {"inplace", 0, POPT_ARG_VAL, &inplace, 1, 0, 0 }, + {"in-place", 0, POPT_ARG_VAL, &inplace, 1, 0, 0 }, {"no-inplace", 0, POPT_ARG_VAL, &inplace, 0, 0, 0 }, {"append", 0, POPT_ARG_N...
2020 Feb 06
0
[PATCH] Add support for zstd compression
...ptions.c @@ -23,6 +23,9 @@ #include "itypes.h" #include <popt.h> #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 ... an...