Displaying 6 results from an estimated 6 matches for "handle_skipped_hlink".
2008 Mar 19
0
[PATCH] Unsnarl missing_below/dry_run logic.
...ry_run)
- dry_run--;
- missing_below = -1;
- } else if (!dry_run) {
- if (is_dir)
- file->flags |= FLAG_MISSING_DIR;
+ if (skip_dir && is_below(file, skip_dir)) {
+ if (is_dir)
+ file->flags |= FLAG_MISSING_DIR;
#ifdef SUPPORT_HARD_LINKS
- if (F_IS_HLINKED(file))
- handle_skipped_hlink(file, itemizing, code, f_out);
+ else if (F_IS_HLINKED(file))
+ handle_skipped_hlink(file, itemizing, code, f_out);
#endif
- return;
- }
- }
+ return;
+ } else
+ skip_dir = NULL;
if (server_filter_list.head) {
if (check_filter(&server_filter_list, fname, is_dir) < 0) {
@@ -12...
2008 May 31
1
DO NOT REPLY [Bug 5505] New: rsync 3.x reporting excluded files as error
...hen this is normal behaviour
for rsync to skip them.
The attached patch fixes this:
--- generator.c.old 2008-05-31 00:35:33.000000000 -0400
+++ generator.c 2008-05-31 00:35:55.000000000 -0400
@@ -1292,7 +1292,7 @@
if (F_IS_HLINKED(file))
handle_skipped_hlink(file, itemizing, code,
f_out);
#endif
- rprintf(FERROR_XFER,
+ rprintf(FINFO,
"skipping daemon-excluded %s \"%s\"\n",
is_dir ? "directory" : "file", f...
2012 Jun 05
2
[Bug 8979] New: rsync daemon: High load while skipping hardlinks
...Ls --timeout=600 --delete --partial
--ignore-existing . <path>
gdb back trace:
#0 0x080ad49c in check_prior (file=0x8297f7c, gnum=0, prev_ndx_p=0x80449a0,
flist_p=0x80449a4) at hlink.c:268
#1 0x080ae0f3 in skip_hard_link (file=0x8297f7c, flist_p=0x81bf8b4) at
hlink.c:549
#2 0x080c6a14 in handle_skipped_hlink (file=0x8297f7c, itemizing=1, code=FLOG,
f_out=1) at generator.c:2015
#3 0x080c4b68 in recv_generator (
fname=0x8045900 "<path to directory>",
file=0x8297f7c, ndx=647, itemizing=1, code=FLOG, f_out=1) at
generator.c:1400
#4 0x080c761f in generate_files (f_out=1, local_nam...
2015 Nov 28
0
[PATCH] ignore-non-existing-directory: add variant of ignore-non-existing
...f (is_dir) {
if (is_dir < 0)
return;
+ actually_ignore = 1;
skip_dir = file;
file->flags |= FLAG_MISSING_DIR;
}
#ifdef SUPPORT_HARD_LINKS
- else if (F_IS_HLINKED(file))
+ else if (ignore_non_existing > 0 && F_IS_HLINKED(file)) {
+ actually_ignore = 1;
handle_skipped_hlink(file, itemizing, code, f_out);
+ }
#endif
- if (INFO_GTE(SKIP, 1)) {
- rprintf(FINFO, "not creating new %s \"%s\"\n",
- is_dir ? "directory" : "file", fname);
+ if(actually_ignore == 1) {
+ if (INFO_GTE(SKIP, 1)) {
+ rprintf(FINFO, "not cre...
2016 Jan 16
0
[PATCH v2, resend] ignore-non-existing-directory: add variant of ignore-non-existing
...f (is_dir) {
if (is_dir < 0)
return;
+ actually_ignore = 1;
skip_dir = file;
file->flags |= FLAG_MISSING_DIR;
}
#ifdef SUPPORT_HARD_LINKS
- else if (F_IS_HLINKED(file))
+ else if (ignore_non_existing > 0 && F_IS_HLINKED(file)) {
+ actually_ignore = 1;
handle_skipped_hlink(file, itemizing, code, f_out);
+ }
#endif
- if (INFO_GTE(SKIP, 1)) {
- rprintf(FINFO, "not creating new %s \"%s\"\n",
- is_dir ? "directory" : "file", fname);
+ if(actually_ignore == 1) {
+ if (INFO_GTE(SKIP, 1)) {
+ rprintf(FINFO, "not cre...
2015 Nov 28
0
[PATCH v2] ignore-non-existing-directory: add variant of ignore-non-existing
...f (is_dir) {
if (is_dir < 0)
return;
+ actually_ignore = 1;
skip_dir = file;
file->flags |= FLAG_MISSING_DIR;
}
#ifdef SUPPORT_HARD_LINKS
- else if (F_IS_HLINKED(file))
+ else if (ignore_non_existing > 0 && F_IS_HLINKED(file)) {
+ actually_ignore = 1;
handle_skipped_hlink(file, itemizing, code, f_out);
+ }
#endif
- if (INFO_GTE(SKIP, 1)) {
- rprintf(FINFO, "not creating new %s \"%s\"\n",
- is_dir ? "directory" : "file", fname);
+ if(actually_ignore == 1) {
+ if (INFO_GTE(SKIP, 1)) {
+ rprintf(FINFO, "not cre...