Re: [Bug 7120] Variable bandwidth limit .. bwlimit

2017-03-18 Thread L A Walsh via rsync

samba-b...@samba.org wrote:

--snipp--
It seems that pv is waiting for data from rsync, and rsync is waiting for data
too (stuck in select()) and not closing the input to pv. So it's a deadlock.
Same happens when you substitute pv with something else (like dd). It seems
that those commands just don't behave like rsync expects them to.
  

---
   Would a use of "stdbuf" (coreutils) help?  It allows one to
change the  input and/or output buffering of the tools to
from full buffered to line-buffered to unbuffered for tools
normally connected via a pipe.



Haven't found a workaround short of killing everything:

export RSYNC_RSH="sh -c 'pv -qL10k | ssh \"\$@\" | (pv -qL11k; kill \$\$)' ssh"
kill is not a solution I'd be happy with. But I haven't found another.
  

---
   Maybe a suspend/continue would be more gentle than killing things?



--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Rsync and improved efficiency for CoW filesystems

2017-03-18 Thread Remi Gauvin via rsync
I was trying to figure out if there was a way for sync to use reflinks 
to more efficiently use disk space on CoW filesystems.


I found this thread in the bugtracker, but was wondering if there was 
any more recent progress on the idea?


https://bugzilla.samba.org/show_bug.cgi?id=10170

Thanks.
<>-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html