Re: simplify the openrsync uploader

2021-05-06 Thread Claudio Jeker
On Wed, May 05, 2021 at 11:34:17PM +0200, Sebastian Benoit wrote: > Claudio Jeker(cje...@diehard.n-r-g.com) on 2021.05.05 17:53:20 +0200: > > The rsync uploader (what is the generator in rsync) can be simplified and > > cleaned up a fair bit. > > > > There is some confusion of non-blocking IO on

Re: simplify the openrsync uploader

2021-05-05 Thread Sebastian Benoit
Claudio Jeker(cje...@diehard.n-r-g.com) on 2021.05.05 17:53:20 +0200: > The rsync uploader (what is the generator in rsync) can be simplified and > cleaned up a fair bit. > > There is some confusion of non-blocking IO on regular files and the idea > to poll() between openat() and fstat(). This is

simplify the openrsync uploader

2021-05-05 Thread Claudio Jeker
The rsync uploader (what is the generator in rsync) can be simplified and cleaned up a fair bit. There is some confusion of non-blocking IO on regular files and the idea to poll() between openat() and fstat(). This is all not needed and therefor a lot of the code handling files can be moved into