Displaying 20 results from an estimated 900 matches similar to: "[PATCH] allow to change the block size used to handle sparse files"
2003 Apr 27
4
Bogus rsync "Success" message when out of disk space
Patches welcome, eh, Paul?
Upon further (belated) investigation, there are 2 affected places
in receiver.c with this error message. Both call write_file().
And write_file is called only in those two places. So that is the
appropriate location to patch. Especially since the obvious fix is
to use the rewrite code already there for the sparse file writes.
2019 Jun 26
2
Allow "--in-place" as an alternative option name for "--inplace"
Hi!
As I commonly spell --inplace as --in-place, I'd like to suggest this
simple patch:
commit 5689f99b702788044a45e13582559832cf986328
Author: Jan-Benedict Glaw <jbglaw at lug-owl.de>
Date: Wed Jun 26 22:49:31 2019 +0200
Allow "--in-place" as an alternative option name for "--inplace".
diff --git a/options.c b/options.c
index e5b0cb68..7ff0c51d 100644
---
2024 Mar 18
0
[PATCH] add option to skip files based on age/mtime
I've added the options --min-age=SECONDS and --max-age=SECONDS to allow
rsync to skip files based on how recently they were modified.
Setting --min-age=30 (for example) would cause rsync to skip files that
had been modified within the last 30 seconds.
Setting --max-age=7776000 would cause rsync to skip files that had been
modified more than 90 days ago (7776000 == 60*60*24*90).
I realize
2004 Aug 02
4
reducing memmoves
Attached is a patch that makes window strides constant when files are
walked with a constant block size. In these cases, it completely
avoids all memmoves.
In my simple local test of rsyncing 57MB of 10 local files, memmoved
bytes went from 18MB to zero.
I haven't tested this for a big variety of file cases. I think that this
will always reduce the memmoves involved with walking a large
2020 Feb 06
0
[PATCH] Add support for zstd compression
From: Sebastian Andrzej Siewior <sebastian at breakpoint.cc>
zstd compression was announced as "good compression with high
throughput" so I gave it a try. With zlib, on high speed links the CPU
is usually the bottle neck. With zstd I'm able to fill a 200Mbit link :)
zstd detection happens automatically via pkg-config. No zstd header means
no error about missing zstd. So that
2002 Dec 09
2
Rsync performance increase through buffering
I've been studying the read and write buffering in rsync and it turns
out most I/O is done just a couple of bytes at a time. This means there
are lots of system calls, and also most network traffic comprises lots
of small packets. The behavior is most extreme when sending/receiving
file deltas of identical files.
The main case where I/O is buffered is writes from the server (when
io
2023 May 17
1
[PATCH] Add --omit-{device,special}-times options
Similar to --omit-{dir,link}-times:
--omit-device-times omit device files from --times
--omit-special-times omit sockets and fifos from --times
Also, fix corner case that allows --omit-dir-times to be ignored. See
unchanged_attrs() and recv_generator()'s call to try_dests_non().
Marc.
diff -aNpRruz -X /etc/diff.excludes rsync-3.2.7/generator.c devel-3.2.7/generator.c
---
2007 Aug 21
1
DO NOT REPLY [Bug 4907] New: --disable-ipv6 disables -4 option
https://bugzilla.samba.org/show_bug.cgi?id=4907
Summary: --disable-ipv6 disables -4 option
Product: rsync
Version: 2.6.9
Platform: Other
OS/Version: Linux
Status: NEW
Severity: trivial
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: safari-samba-bugzilla-
2008 Mar 11
1
[PATCH] Add --no-y.
---
When a bunch of --no-* options were added (852e763b), --no-y was
forgotten. Here it is.
Matt
options.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/options.c b/options.c
index 4ac8846..82597bf 100644
--- a/options.c
+++ b/options.c
@@ -577,6 +577,7 @@ static struct poptOption long_options[] = {
{"link-dest", 0, POPT_ARG_STRING, 0,
2005 Jan 05
1
rsync filename heuristics
On 5 Jan 2005, Rusty Russell <rusty@rustcorp.com.au> wrote:
> On Tue, 2005-01-04 at 18:24 +0100, Robert Lemmen wrote:
> > hi rusty,
> >
> > i read on some webpage about rsync and debian that you wrote a patch to
> > rsync that let's it uses heuristics when deciding which local file to
> > use. could you tell me whether this is planned to be included in
2009 Oct 15
1
PATCH: --write-devices to allow synchronising to a block device
Hi List,
I had a need recently to efficiently synchronise between some large LUNs
(boot drive disks) at two different datacentres. Solutions like drbd and
$proprietary_array_vendors_software were overkill - we only needed
(wanted!) to periodically synchronise these LUNs whenever major changes
were generated on the source. On the other hand however, re-sending the
entire disk contents each time
2004 Dec 06
1
port and double-colon
double-colon mode doesn't work in CVS version.
-vv says port number is 0.
% rsync -vv host.domain::any
opening tcp connection to host.domain port 0
rsync: failed to connect to host.domain: Can't assign requested address (49)
rsync error: error in socket IO (code 10) at clientserver.c(94)
And --port=873 cannot be used in client mode now.
I made a small sample patch.
(Sorry, I
2006 Jun 02
3
[PATCH] --omit-dir-changes, qsort<>mergesort issues
Hi all,
I recently ran into some problems with rsync. My plan is to renew some of
our old administration concepts from early 90's, I already replaced rdist
with rsync a few years ago.
Because of the rdist legacy, the current method requires synchronizing
files into 6 different locations, {/alt,/usr/alt}/{hostdep,sysdep,hutdep},
which in turn are prioritized by a tool that just symlinks
2020 Sep 15
0
[PATCH 01/18] media/v4l2: remove V4L2-FLAG-MEMORY-NON-CONSISTENT flag
From: Sergey Senozhatsky <sergey.senozhatsky at gmail.com>
The patch partially reverts some of the UAPI bits of the buffer
cache management hints. Namely, the queue consistency (memory
coherency) user-space hint because, as it turned out, the kernel
implementation of this feature was misusing DMA_ATTR_NON_CONSISTENT.
The patch revers both kernel and user space parts: removes the
DMA
2009 Jan 24
2
[patch] Replace illegal characters in filenames for FAT (switch)
This patch adds a switch --fat-filenames which replaces all characters
that aren't legal on FAT filesystems with an underscore. This is the first
time I touch the rsync code, so I may not be going about it the right way,
but it seems to be working.
Naturally there's some potential for collisions, but it's probably better
than what happens currently (such files are simply not copied).
2003 Aug 24
1
readdir() and read() errors ignored
We've just been hit rather badly by a very nasty bug that can cause rsync
to silently discard files or fill them with zeroes. It happens when e.g.
opendir() succeeds but readdir() returns an error; rsync does not check
for an error from readdir() and so simply ignores the error (along with
any remaining files in the directory). No error is reported to the user,
who will then happily
2004 May 15
1
Fwd: Re: setting checksum_seed
Any feedback on this patch and the possibility of getting it
into CVS or the patches directory?
Thanks,
Craig
---------- Forwarded message ----------
To: jw schultz <jw@pegasys.ws>
From: Craig Barratt <cbarratt@users.sourceforge.net>
cc: rsync@lists.samba.org
Date: Sat, 01 May 2004 17:06:10 -0700
Subject: Re: setting checksum_seed
jw schultz writes:
> > > There was some
2004 Mar 17
1
setgid on directories
We needed the group id bit to always be set on directories when rsync
creates them. We always run
rsync from a script with just the -ltR options. The destination file
system uses acl's to control file access
so new files need to inherit the properties of the directories they're in.
(This is for IBM's global storage
architecture on Aix or Linux).
I made the following changes to make
2003 Feb 01
0
Fw: Re: [Apt-rpm] I: [PATCH] 0.5.4cnc9: rsync method support
Hello,
It would be goog if attached patch will be included in upstream. This
patch adds option --apt-support for rsync and with this option rsync
will print some additiona information about file being transfered. No
program logic changed. Having this option in rsync we can have apt with
rsync method support.
Begin forwarded message:
Date: Fri, 31 Jan 2003 11:34:14 -0200
From: Gustavo Niemeyer
2012 Dec 25
2
[LLVMdev] [DragonEgg] Strange call to @"\01__isoc99_fscanf"
Dear all,
First of all, Merry Christmas! :)
While testing a File I/O sample program, I've encountered a link failure
due to missing implementation of "\01__isoc99_fscanf" function. I think
this function should be named "__isoc99_fscanf" instead. Please see the
program code and LLVM IR generated by DragonEgg and clang below. It shows
that clang generates