search for: read_ndx_and_attr

Displaying 13 results from an estimated 13 matches for "read_ndx_and_attr".

Did you mean: read_ndx_and_attrs
2009 Jun 02
2
Which function in generator trigger the file transfer?
Dear List, I checked the function "generate_files", which might be simply stand for generator, but didn't find where triggers the file transfer. As receiver will use "read_ndx_and_attrs" to read iflags to judge if it's need to be transfered? If I'm wrong, please correct me. Can anyone help to point it out? Thanks. -- Daniel Li
2008 Aug 18
8
DO NOT REPLY [Bug 5701] New: deadlock on local rsyncing, bisected to commit f303b749f2843433c9acd8218a4b9096d0d1bb8d
...meout () from /proc/22366/exe #2 0x00007fa36509bb86 in read_loop () from /proc/22366/exe #3 0x00007fa36509a241 in readfd_unbuffered () from /proc/22366/exe #4 0x00007fa36509bd33 in readfd () from /proc/22366/exe #5 0x00007fa36509c956 in read_ndx () from /proc/22366/exe #6 0x00007fa36507cc20 in read_ndx_and_attrs () from /proc/22366/exe #7 0x00007fa365085ede in send_files () from /proc/22366/exe #8 0x00007fa36508e738 in client_run () from /proc/22366/exe #9 0x00007fa36508f58c in main () from /proc/22366/exe $ gstack 22367 #0 0x0000000000a24ad3 in __select_nocancel () from /lib64/libc.so.6 #1 0x00007f...
2011 May 15
0
rsync client and server processes, all hanging in read_timeout()
...en=4) at io.c:989 #3 0x000000010002f989 in readfd_unbuffered (fd=5, buf=0x7fff5fbfd8a0 "", len=1) at io.c:1026 #4 0x000000010002ffae in readfd (fd=5, buffer=0x7fff5fbfd8a0 "", N=1) at io.c:1157 #5 0x00000001000319c8 in read_ndx (f=5) at io.c:1787 #6 0x000000010000ae74 in read_ndx_and_attrs (f_in=5, iflag_ptr=0x7fff5fbfdb90, type_ptr=0x7fff5fbfdb9f "?", buf=0x7fff5fbfe3a0 "var/svn/hot_backups/foobar-www-5/hooks/pre- unlock", len_ptr=0x7fff5fbfdb8c) at rsync.c:257 #7 0x000000010001449f in recv_files (f_in=5, local_name=0x0) at receiver.c:455 #8 0x000000010...
2007 Dec 28
2
hang with rsync 3.0.0pre7 doing local copy
...;, len=4) at io.c:985 #3 0x00000000004244d5 in readfd_unbuffered (fd=5, buf=0x7fff1d3adc70 "", len=1) at io.c:1022 #4 0x0000000000424a93 in readfd (fd=5, buffer=0x7fff1d3adc70 "", N=1) at io.c:1144 #5 0x0000000000425b20 in read_ndx (f=5) at io.c:1749 #6 0x000000000040a957 in read_ndx_and_attrs (f_in=5, iflag_ptr=0x7fff1d3afe38, type_ptr=0x7fff1d3afe3f "", buf=0x7fff1d3add50 "", len_ptr=0x7fff1d3afe34) at rsync.c:218 #7 0x00000000004125ea in send_files (f_in=5, f_out=4) at sender.c:193 #8 0x00000000004194f7 in client_run (f_in=5, f_out=4, pid=3713, argc=1, argv=0x66...
2008 Feb 27
2
DO NOT REPLY [Bug 5287] New: FreeBSD pre10 compilation warnings report
...compiles very cleanly. This is an FYI for anyone that may like to tidy up any valid issues before the release of 3.0.0. FreeBSD RELENG_4 untar 3.0.0pre10 ./configure yields these arguments gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c <.c> -o <.o> make rsync.c: In function `read_ndx_and_attrs': rsync.c:213: warning: `flist' might be used uninitialized in this function rsync.c: In function `set_file_attrs': rsync.c:343: warning: unused parameter `fnamecmp' generator.c: In function `delete_item': generator.c:212: warning: `desc' might be used uninitialized in this...
2007 Aug 02
4
Which rsync version?
Hi all. I once tried to rsync around 100 GB (10 million files), but version 2.6.6 needed too much RAM and was too slow. Is one of the snapshots stable enough to try this again? Greetings Sven -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url :
2011 Apr 11
4
[Bug 8075] New: synchronization failed
...PA20060528_190038_000000162048_00085_22183_1026.N1 failed verification -- update discarded (will try again). WARNING: 2882ns_envisat_isabel/ASA_IMS_1PNDPA20061015_190042_000000162052_00085_24187_1024.N1 failed verification -- update discarded (will try again). File-list index 133 not in 960 - 1144 (read_ndx_and_attrs) [receiver] rsync error: protocol incompatibility (code 2) at rsync.c(652) [receiver=3.0.8] rsync: connection unexpectedly closed (998 bytes received so far) [generator] rsync error: error in rsync protocol data stream (code 12) at io.c(601) [generator=3.0.8] I hope this is sufficient information...
2010 Jun 15
3
about rsyncing of block devices
.../rsync.c 2010-06-14 10:24:49.339960221 +0100 @@ -34,6 +34,7 @@ extern int preserve_xattrs; extern int preserve_perms; extern int preserve_executability; extern int preserve_times; +extern int copy_devices; extern int am_root; extern int am_server; extern int am_sender; @@ -328,7 +329,8 @@ int read_ndx_and_attrs(int f_in, int *if if (iflags & ITEM_TRANSFER) { int i = ndx - cur_flist->ndx_start; - if (i < 0 || !S_ISREG(cur_flist->files[i]->mode)) { + struct file_struct *file = cur_flist->files[i]; + if (i < 0 || !(S_ISREG(file->mode) || (copy_devices && IS_DEVICE(...
2017 Apr 05
0
Transfer hangs, both sides waiting on receive
...#3 0x00007f87d88df683 in read_a_msg () at io.c:1423 #4 0x00007f87d88e0676 in read_buf (f=f at entry=4, buf=buf at entry=0x7ffd814c0df0 "\300\037L\201\375\177", len=len at entry=1) at io.c:1835 #5 0x00007f87d88e157b in read_ndx (f=f at entry=4) at io.c:2222 #6 0x00007f87d88be377 in read_ndx_and_attrs (f_in=4, f_out=6, iflag_ptr=0x7ffd814c0f28, type_ptr=0x7ffd814c0f27 "\200\b", buf=0x7ffd814c1fc0 "", len_ptr=0x7ffd814c0f2c) at rsync.c:320 #7 0x00007f87d88c5b5e in recv_files (f_in=5, f_out=-2125728480, local_name=0x7ffd814c0fc0 "some_dbase") at receiver.c:54...
2017 Apr 10
3
error allocating core memory buffers (code 22) at util2.c(106) [sender=3.1.2]
Hi: I'm in the middle of recoverying from a tactical error copying around an Mac OS X 10.10.5 Time Machine backup (turns out Apple's instructions aren't great...), and I had rsync running for the past 6 hours repairing permissions/acls on 1.5 TB of data (not copying the data), and then it just died in the middle with: .L....og.... 2015-03-11-094807/platinum-bar2/usr/local/mysql
2008 Mar 04
1
Several changes missing from [HEAD] fileflags.diff
...utenv iconv_open locale_charset nl_langinfo > getxattr \ > extattr_get_link sigaction sigprocmask setattrlist > do > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` > diff -up a/proto.h b/proto.h > --- a/proto.h > +++ b/proto.h > @@ -269,6 +269,8 @@ int read_ndx_and_attrs(int f_in, int *if > void free_sums(struct sum_struct *s); > mode_t dest_mode(mode_t flist_mode, mode_t stat_mode, int dflt_perms, > int exists); > +int make_mutable(const char *fname, mode_t mode, uint32 fileflags, > uint32 iflags); > +int undo_make_mutable(const char *fn...
2007 Oct 17
3
DO NOT REPLY [Bug 5022] New: FreeBSD 4.11 - Compilation Fails - uidlist.c - gcc2 / gcc3
...krounding -I. ./mkrounding.c ./mkrounding >rounding.h No rounding needed for file_extras (EXTRA_LEN=4, FILE_STRUCT_LEN=16) gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c flist.c -o flist.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c rsync.c -o rsync.o rsync.c: In function `read_ndx_and_attrs': rsync.c:215: warning: `flist' might be used uninitialized in this function rsync.c: In function `set_file_attrs': rsync.c:341: warning: unused parameter `fnamecmp' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c generator.c -o generator.o generator.c: In function `unchan...
2008 Feb 15
4
Revised flags patch
...PRESSION) { 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,6 +267,8 @@ int read_ndx_and_attrs(int f_in, int *if void free_sums(struct sum_struct *s); mode_t dest_mode(mode_t flist_mode, mode_t stat_mode, int dflt_perms, int exists); +void make_mutable(const char *fname, mode_t mode, uint32 fileflags); +void undo_make_mutable(const char *fname, mode_t mode, uint32 fileflags); int set...