search for: send_exclude_list

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

2001 Nov 29
2
Rsync: Re: patch to enable faster mirroring of large filesystems
...It looks like there's a function io_start_buffering() that should be called. I don't know why it isn't called until later, though, and there may be a good reason. It's getting called in send_file_list() and in do_recv(), both of which are called from client_run() in main.c after send_exclude_list(). Could you play with calling it before send_exclude_list()? You're sending the list from the receiver to the sender so you're in the second half client_run(), the do_recv() part. You may possibly need to call io_flush() more often, although I don't think so. Could that be the reas...
2001 Aug 06
1
merge rsync+ into rsync (was Re: rsync-2.4.7 NEWS file)
> Just curious: what about the rsync+ patch? Thanks for the reminder. I've just committed Jos's rsync+ patch onto the "branch_mbp_rsyncplus_merge" branch. If it works OK and nobody screams I will move it across onto the main tree tomorrow or Wednesday. I see the patch doesn't add documentation about the new options to the man page, so we should fix that in the future.
2003 Jul 24
0
(no subject)
...3,509 ---- if (delete_mode && !delete_excluded) recv_exclude_list(f_in); ! flist = recv_file_list(f_in); if (!flist) { rprintf(FERROR,"server_recv: recv_file_list error\n"); exit_cleanup(RERR_FILESELECT); *************** *** 602,607 **** --- 597,610 ---- send_exclude_list(f_out); if (!read_batch) /* dw -- don't write to pipe */ flist = send_file_list(f_out,argc,argv); + else { + if (remote_version < 27) { + rprintf(FERROR,"Version Error for remote batch\n"); + exit_cleanup(RERR_FILESELECT); + } + flist = create...
2004 Jul 12
2
[PATCH] Batch-mode rewrite
...0); + am_sender = 0; + } else { set_nonblocking(f_in); set_nonblocking(f_out); + } setup_protocol(f_out,f_in); ! if (protocol_version >= 23 && !read_batch) io_start_multiplex_in(f_in); if (am_sender) { *************** *** 629,634 **** --- 664,672 ---- send_exclude_list(f_out); if (remote_filesfrom_file) filesfrom_fd = f_in; + + /* Can be unconditional, but this is theoretically + * more efficent for read_batch case. */ if (!read_batch) /* don't write to pipe */ flist = send_file_list(f_out,argc,argv); if (verbose > 3) **********...
2001 Nov 20
2
patch to enable faster mirroring of large filesystems
...stats stats; +static FILE *src_list_fp; + extern int verbose; @@ -480,11 +482,13 @@ extern int cvs_exclude; extern int delete_mode; extern int delete_excluded; + extern int source_list; if (cvs_exclude) add_cvs_excludes(); if (delete_mode && !delete_excluded) send_exclude_list(f_out); - flist = send_file_list(f_out,argc,argv); + flist = (source_list ? send_file_list_fp(f_out,src_list_fp) : + send_file_list(f_out,argc,argv)); if (verbose > 3) rprintf(FINFO,"file list sent\n"); @@ -677,6 +681,7 @@ extern int dry_run; extern int am_daemon;...
2003 Jan 14
4
specifying a list of files to transfer
...e_list(int f) { --- main.c.orig Wed Mar 27 00:10:44 2002 +++ main.c Fri Jan 10 10:59:51 2003 @@ -25,6 +25,8 @@ struct stats stats; +static FILE *src_list_fp; + extern int verbose; static void show_malloc_stats(void); @@ -559,7 +561,9 @@ if (delete_mode && !delete_excluded) send_exclude_list(f_out); if (!read_batch) /* dw -- don't write to pipe */ - flist = send_file_list(f_out,argc,argv); + flist = (src_list_fp ? + send_file_list_fp(f_out,src_list_fp) : + send_file_list(f_out,argc,argv)); if (verbose > 3) rprintf(FINFO,"file list sent\n&...
2002 Nov 11
0
Regular Expression support
...xclude_list(const char *fname, struct exclude_struct **list1, - int fatal, int include); -void add_exclude_file(const char *fname, int fatal, int include); + int fatal, int include, int regexp); +void add_exclude_file(const char *fname, int fatal, int include, int regexp); void send_exclude_list(int f); void recv_exclude_list(int f); char *get_exclude_tok(char *p); -void add_exclude_line(char *p); -void add_include_line(char *p); +void add_exclude_line(char *p, int regexp); +void add_include_line(char *p, int regexp); void add_cvs_excludes(void); int sparse_end(int f); int write_file(...
2003 Oct 03
2
Cygwin/rsync Hang Problem Testing Results
People of cygwin & rsync, I recently attempted to get cygwin and rsync working to solve a backup/mirroring need in my computer life. Well, as you might guess, I ran into a little but of trouble. Strangely enough, rsync seemed to be regularly hanging when I attempted to do a "get" (sycronize a remote to a local dir). Well, considering I want to automate this, that was not going
2002 Feb 07
1
Latest version of the batch mode cleanup patch
...tern struct file_list *batch_flist; cleanup_child_pid = pid; if (read_batch) - flist = batch_flist; /* dw */ + flist = batch_flist; set_nonblocking(f_in); set_nonblocking(f_out); @@ -582,7 +582,7 @@ list_only = 1; } - if (!write_batch) /* dw */ + if (!write_batch) send_exclude_list(f_out); flist = recv_file_list(f_in); @@ -658,6 +658,7 @@ extern char *shell_cmd; extern int rsync_port; extern int whole_file; + extern int write_batch; extern int read_batch; int rc; @@ -685,7 +686,7 @@ return start_socket_client(host, path, argc-1, argv+1); } - if (!read_...