Displaying 10 results from an estimated 10 matches for "init_hard_links".
2004 Mar 16
1
Out of memory buffers
Hi,
We use rsync 2.6.0 version to synchronize data
for a while till recently we got an error in
one directory :
ERROR: out of memory in init_hard_links
rsync error: error allocating core memory buffers (code 22) at util.c(115)
rsync: connection unexpectedly closed (8 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)
The rsync options were used -avSH, can you help? Thanks.
Thanks,
Jennifer
2001 Sep 05
2
Feedback on 2.4.7pre1
FYI,
We've been using the 2.4.7pre1 release for several days now, with nary a
hang problem. We haven't seen the EOF bug at all, which was what we
upgraded for. This is with transfers of as much as 50GB to set up an
initial mirror.
The only thing we did was set timeout=0 -- which I guess is unnecessary.
The semantics of this flag are a bit unclear. We thought was 'time since
2004 Feb 06
4
memory reduction
...2 +88,16 @@ static void link_idev_data(void)
if (!to) {
free(hlink_list);
hlink_list = NULL;
+ pool_destroy(hlink_pool);
+ hlink_pool = NULL;
} else {
hlink_count = to;
if (!(hlink_list = realloc_array(hlink_list,
struct file_struct *, hlink_count)))
out_of_memory("init_hard_links");
}
+ flist->hlink_pool = hlink_pool;
+ pool_destroy(idev_pool);
}
#endif
@@ -109,7 +128,7 @@ void init_hard_links(struct file_list *f
free(hlink_list);
hlink_list = NULL;
} else
- link_idev_data();
+ link_idev_data(flist);
#endif
}
diff -rupNP --exclude-from cvs/.ignor...
2003 Oct 18
0
Added functionality --compare-file and --compare-auto
...3,7 @@
char *f_name(struct file_struct *f);
void recv_generator(char *fname, struct file_list *flist, int i, int f_out);
void generate_files(int f,struct file_list *flist,char *local_name,int f_recv);
+char * findcomparename(const char* fname, char* buf);
int main(int argc, char *argv[]);
void init_hard_links(struct file_list *flist);
int check_hard_link(struct file_struct *file);
@@ -224,7 +225,6 @@
OFF_T do_lseek(int fd, OFF_T offset, int whence);
void *do_mmap(void *start, int len, int prot, int flags, int fd, OFF_T offset);
char *d_name(struct dirent *di);
-int main(int argc, char **argv);
int...
2004 Feb 09
1
[patch] Add `--link-by-hash' option.
...uct *hashfile);
+void kill_hashfiles(struct hashfile_struct *hashfiles);
+struct hashfile_struct *find_hashfiles(char *hashname, int64 size, long *fnbr);
+struct hashfile_struct *compare_hashfiles(int fd,struct hashfile_struct *files);
+void link_by_hash(char *fname,struct file_struct *file);
void init_hard_links(struct file_list *flist);
int check_hard_link(struct file_struct *file);
void do_hard_links(void);
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 4).
...;
+void kill_hashfiles(struct hashfile_struct *hashfiles);
+struct hashfile_struct *find_hashfiles(char *hashname, int64 size, long *fnbr);
+struct hashfile_struct *compare_hashfiles(int fd,struct hashfile_struct *files);
+int link_by_hash(char *fnametmp,char *fname,struct file_struct *file);
void init_hard_links(struct file_list *flist);
int hard_link_check(struct file_struct *file, int skip);
void do_hard_links(void);
patchwork diff receiver.c
--- receiver.c 2004-02-23 10:22:51.000000000 -0500
+++ receiver.c 2004-02-23 10:22:51.000000000 -0500
@@ -186,10 +186,11 @@
static int receive_data(int f_in,...
2004 Feb 17
0
[patch] Add `--link-by-hash' option (rev 3).
...;
+void kill_hashfiles(struct hashfile_struct *hashfiles);
+struct hashfile_struct *find_hashfiles(char *hashname, int64 size, long *fnbr);
+struct hashfile_struct *compare_hashfiles(int fd,struct hashfile_struct *files);
+int link_by_hash(char *fnametmp,char *fname,struct file_struct *file);
void init_hard_links(struct file_list *flist);
int hard_link_check(struct file_struct *file, int skip);
void do_hard_links(void);
patchwork diff receiver.c
--- receiver.c 2004-02-17 10:36:44.000000000 -0500
+++ receiver.c 2004-02-17 13:10:23.000000000 -0500
@@ -186,10 +186,11 @@
static int receive_data(int f_in,...
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 5).
...;
+void kill_hashfiles(struct hashfile_struct *hashfiles);
+struct hashfile_struct *find_hashfiles(char *hashname, int64 size, long *fnbr);
+struct hashfile_struct *compare_hashfiles(int fd,struct hashfile_struct *files);
+int link_by_hash(char *fnametmp,char *fname,struct file_struct *file);
void init_hard_links(struct file_list *flist);
int hard_link_check(struct file_struct *file, int skip);
void do_hard_links(void);
patchwork diff receiver.c
--- receiver.c 2004-02-23 10:22:51.000000000 -0500
+++ receiver.c 2004-02-23 10:22:51.000000000 -0500
@@ -186,10 +186,11 @@
static int receive_data(int f_in,...
2004 Feb 16
1
[patch] Add `--link-by-hash' option (rev 2).
...uct *hashfile);
+void kill_hashfiles(struct hashfile_struct *hashfiles);
+struct hashfile_struct *find_hashfiles(char *hashname, int64 size, long *fnbr);
+struct hashfile_struct *compare_hashfiles(int fd,struct hashfile_struct *files);
+void link_by_hash(char *fname,struct file_struct *file);
void init_hard_links(struct file_list *flist);
int hard_link_check(struct file_struct *file, int skip);
void do_hard_links(void);
patchwork diff receiver.c
--- receiver.c 2004-02-16 10:24:39.000000000 -0500
+++ receiver.c 2004-02-16 10:19:41.000000000 -0500
@@ -186,10 +186,11 @@
static int receive_data(int f_in,...
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