Re: fuse readdirplus skip one entry when interrupted by signal

2017-10-25 Thread Miklos Szeredi
On Wed, Oct 25, 2017 at 4:28 PM, Marios Titas wrote: > Original reporter here ("Haskell user"). I tested your patch and everything > works as expected now. Thanks for the prompt response! Thanks for the report and testing. Thanks, Miklos

Re: fuse readdirplus skip one entry when interrupted by signal

2017-10-25 Thread Marios Titas
On Wed, Oct 25, 2017 at 11:38:09AM +0200, Miklos Szeredi wrote: On Tue, Oct 24, 2017 at 08:10:49PM +0200, Jakob Unterwurzacher wrote: A user running a Haskell program [1] noticed a problem with fuse's readdirplus: when it is interrupted by a signal, it skips one directory entry. The problem is

Re: fuse readdirplus skip one entry when interrupted by signal

2017-10-25 Thread Miklos Szeredi
On Tue, Oct 24, 2017 at 08:10:49PM +0200, Jakob Unterwurzacher wrote: > A user running a Haskell program [1] noticed a problem with fuse's > readdirplus: when it is interrupted by a signal, it skips one > directory entry. > > The problem is most apparent with Haskell as it uses > SIGVTALRM to inte

fuse readdirplus skip one entry when interrupted by signal

2017-10-24 Thread Jakob Unterwurzacher
A user running a Haskell program [1] noticed a problem with fuse's readdirplus: when it is interrupted by a signal, it skips one directory entry. The problem is most apparent with Haskell as it uses SIGVTALRM to interrupt it's own green threads. A minimal reproducer in C, "ls-count.c", is availab