search for: bwlimit_writemax

Displaying 9 results from an estimated 9 matches for "bwlimit_writemax".

2004 Nov 04
1
Problems with --bwlimit && --daemon
Hi list, I couldn't find anything related to this, on mailing lists or even bugzilla, so here it is. A problem with this combination exists in the new 2.6.3 where the bwlimit code got rewritten and is not present at <= 2.6.2. The problem is that on io.c:882 bwlimit_writemax is also used to control the bandwidth, but it is not initialized for the daemon mode. At options.c:772 you can see the function returning and a bit bellow, line 810, bwlimit_writemax gets initialized. A quick fix I did, without many checkings, but working: --- rsync-2.6.3/options.c.mrl 2004-09-2...
2005 Jan 13
1
--bwlimit doesn't work for daemon mode
..., Uwe -------------------------------------------------------------------------- diff -ur /tmp/rsync-2.6.3/options.c ./options.c --- /tmp/rsync-2.6.3/options.c 2004-09-23 17:39:05.000000000 +0000 +++ ./options.c 2005-01-13 08:47:09.292810016 +0000 @@ -769,6 +768,12 @@ } } + if (bwlimit) { + bwlimit_writemax = (size_t)bwlimit * 128; + if (bwlimit_writemax < 512) + bwlimit_writemax = 512; + } + if (daemon_opt) { daemon_opt = 0; am_daemon = 1; @@ -807,11 +812,6 @@ if (do_progress && !verbose) verbose = 1; - if (bwlimit) { - bwlimit_writemax = (size_t)bwlimit * 128; - if (bw...
2006 Mar 03
1
changing bwlimit at runtime.
I am using rsync in a situation where the amount of bwlimit I want to use changes depending on the time of day. for example, I start rsync at 2am when no-one else is using the system, so I want it to use 100k/sec. At 9am, it is still running, but as the bandwidth of the link it's using now needs to be shared with other users, I would like rsync to only use 10k/sec. Any way of doing this
2015 Nov 28
0
[PATCH] ignore-non-existing-directory: add variant of ignore-non-existing
...ignore_non_existing_dirs = -ignore_non_existing_dirs; update_only = -update_only; always_checksum = -always_checksum; size_only = -size_only; diff --git a/options.c b/options.c index 7e93ea1..7c5c53b 100644 --- a/options.c +++ b/options.c @@ -114,6 +114,7 @@ int fuzzy_basis = 0; size_t bwlimit_writemax = 0; int ignore_existing = 0; int ignore_non_existing = 0; +int ignore_non_existing_dirs = 0; int need_messages_from_generator = 0; int max_delete = INT_MIN; OFF_T max_size = -1; @@ -916,6 +917,7 @@ static struct poptOption long_options[] = { {"no-one-file-system",0, POPT_ARG_VAL,...
2016 Jan 16
0
[PATCH v2, resend] ignore-non-existing-directory: add variant of ignore-non-existing
...ignore_non_existing_dirs = -ignore_non_existing_dirs; update_only = -update_only; always_checksum = -always_checksum; size_only = -size_only; diff --git a/options.c b/options.c index 7e93ea1..7c5c53b 100644 --- a/options.c +++ b/options.c @@ -114,6 +114,7 @@ int fuzzy_basis = 0; size_t bwlimit_writemax = 0; int ignore_existing = 0; int ignore_non_existing = 0; +int ignore_non_existing_dirs = 0; int need_messages_from_generator = 0; int max_delete = INT_MIN; OFF_T max_size = -1; @@ -916,6 +917,7 @@ static struct poptOption long_options[] = { {"no-one-file-system",0, POPT_ARG_VAL,...
2015 Nov 28
0
[PATCH v2] ignore-non-existing-directory: add variant of ignore-non-existing
...ignore_non_existing_dirs = -ignore_non_existing_dirs; update_only = -update_only; always_checksum = -always_checksum; size_only = -size_only; diff --git a/options.c b/options.c index 7e93ea1..7c5c53b 100644 --- a/options.c +++ b/options.c @@ -114,6 +114,7 @@ int fuzzy_basis = 0; size_t bwlimit_writemax = 0; int ignore_existing = 0; int ignore_non_existing = 0; +int ignore_non_existing_dirs = 0; int need_messages_from_generator = 0; int max_delete = INT_MIN; OFF_T max_size = -1; @@ -916,6 +917,7 @@ static struct poptOption long_options[] = { {"no-one-file-system",0, POPT_ARG_VAL,...
2005 Jan 05
2
Preliminary Suggestion For Atomic Transactions
In the past there's been a need to provide consistency between symbolic links or repository metadata during a sync. Currently, rsync renames files piecemeal. The attached patch (extremely ugly) attempts to resolve this by foregoing the rename step until the end. It adds a new option (if we didn't, ls might catch up). There are several issues to get over. The first big one in
2007 Oct 04
2
rsync stops/hangs (from windows to debian)
We've been using rsync to send updates to our webservers from a central location for years. All the webservers used to be Windows 2000 Server running rsync 2.6.3. Recently I've been trying to replace them with Debian servers with rsync 2.6.9. The central file server is a Windows 2000 Server using the cwRsync binary. It was also 2.6.3 until I upgraded it to use 2.6.9 also. The initial
2007 Sep 22
0
rsync build on IA64 using icc
...t supported proto.h(224): remark #310: old-style parameter list (anachronism) void setup_iconv(); ^ io.c(36): remark #1419: external declaration in primary source file extern int bwlimit; ^ io.c(37): remark #1419: external declaration in primary source file extern size_t bwlimit_writemax; ^ io.c(38): remark #1419: external declaration in primary source file extern int io_timeout; ^ io.c(39): remark #1419: external declaration in primary source file extern int allowed_lull; ^ io.c(40): remark #1419: external declaration in primary sou...