search for: sparse_end

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

2009 Mar 11
0
rsyserr is occasionally dropping receiver messages
...diff -Naur -X rsync3/_build/diff_ignore rsync-3.0.5_base/receiver.c rsync-3.0.5/receiver.c --- rsync-3.0.5_base/receiver.c 2008-11-15 16:49:28.000000000 -0600 +++ rsync-3.0.5/receiver.c 2009-03-10 22:18:20.000000000 -0500 @@ -297,6 +315,16 @@ if (fd != -1 && offset > 0 && sparse_end(fd) != 0) { report_write_error: + fprintf(stderr, "rsync: write failed on %s: %s\n", full_fname(fname), strerror(errno)); rsyserr(FERROR_XFER, errno, "write failed on %s", full_fname(fname)); exit_cleanup(RERR_FILEIO);
2003 May 20
0
patch for better handling of write failures (disk full)
...en) != (int) len) { rprintf(FERROR,"write failed on %s : %s\n", fname,strerror(errno)); - exit_cleanup(RERR_FILEIO); + discard = 1; + fd = -1; + // exit_cleanup(RERR_FILEIO); } offset += len; } @@ -278,7 +283,9 @@ if (fd != -1 && offset > 0 && sparse_end(fd) != 0) { rprintf(FERROR,"write failed on %s : %s\n", fname,strerror(errno)); - exit_cleanup(RERR_FILEIO); + discard = 1; + fd = -1; + // exit_cleanup(RERR_FILEIO); } sum_end(file_sum1); @@ -293,6 +300,8 @@ return 0; } } + if (discard) + return 2; return 1;...
2001 Sep 30
0
Exclude sets generated with -C
...nc-2.4.6/proto.h Wed Sep 6 13:46:43 2000 +++ ./proto.h Sat Sep 29 20:33:47 2001 @@ -33,6 +33,7 @@ char *get_exclude_tok(char *p); void add_exclude_line(char *p); void add_include_line(char *p); +void add_cvs_entries(char *fname, struct exclude_struct ***list); void add_cvs_excludes(void); int sparse_end(int f); int write_file(int f,char *buf,int len);
2003 May 23
1
PATCH: better handling for write failures (disk full)
...en) != (int) len) { rprintf(FERROR,"write failed on %s : %s\n", fname,strerror(errno)); - exit_cleanup(RERR_FILEIO); + discard = 1; + fd = -1; + // exit_cleanup(RERR_FILEIO); } offset += len; } @@ -278,7 +283,9 @@ if (fd != -1 && offset > 0 && sparse_end(fd) != 0) { rprintf(FERROR,"write failed on %s : %s\n", fname,strerror(errno)); - exit_cleanup(RERR_FILEIO); + discard = 1; + fd = -1; + // exit_cleanup(RERR_FILEIO); } sum_end(file_sum1); @@ -293,6 +300,8 @@ return 0; } } + if (discard) + return 2; return 1;...
2010 Mar 02
9
DO NOT REPLY [Bug 7194] New: Getting --inplace and --sparse to work together
https://bugzilla.samba.org/show_bug.cgi?id=7194 Summary: Getting --inplace and --sparse to work together Product: rsync Version: 3.0.7 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P3 Component: core AssignedTo: wayned at samba.org ReportedBy: jansen at
2011 Feb 05
2
rsync not reporting diskfull error
I am involved with the development of lbackup. This message to the rsync mailing list is related to the following thread on the lbackup-disccussion mailing list : http://tinyurl.com/lbackup-discussion-diskfull Essentially, I am curious to if any one using rsync 3.0.7 on Mac OS (10.6) Server has experienced an out of disk space error and not had a message similar to the following reported : >
2002 Dec 09
2
Rsync performance increase through buffering
...ig/receiver.c --- rsync/receiver.c Tue May 28 08:42:51 2002 +++ rsync-craig/receiver.c Sat Dec 7 22:09:04 2002 @@ -273,6 +273,11 @@ offset += len; } + /* + * do a write flush + */ + write_file(fd, NULL, 0); + end_progress(total_size); if (fd != -1 && offset > 0 && sparse_end(fd) != 0) {
2002 Aug 05
5
[patch] read-devices
...ecksum2(char *buf,int len,char *sum); -void file_checksum(char *fname,char *sum,OFF_T size); +void file_checksum(char *fname,char *sum); void checksum_init(void); void sum_init(void); void sum_update(char *p,int len); void sum_end(char *sum); @@ -71,9 +71,9 @@ void add_cvs_excludes(void); int sparse_end(int f); int write_file(int f,char *buf,size_t len); struct map_struct *map_file(int fd,OFF_T len); -char *map_ptr(struct map_struct *map,OFF_T offset,int len); +void map_ptr(struct map_struct *map,OFF_T offset,int len); //#ET# void unmap_file(struct map_struct *map); void show_flist_stats(void)...
2002 Nov 11
0
Regular Expression support
...nt 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(int f,char *buf,size_t len); Only in rsync-2.5.5.mod/: receiver.o Only in rsync-2.5.5.mod/: rsync diff -u rsync-2.5.5/rsync.1 rsync-2.5.5.mod/rsync.1 --- rsync-2.5.5/rsync.1 Wed Feb 6 16:21:19 2002 +++ rsync-2.5.5.mod/rsync.1 Mon Nov 11 15:17:20 2002 @@ -296,6 +296,10 @@...