On Wed, Sep 11, 2024 at 3:06 PM Bernd Schubert <bernd.schubert@xxxxxxxxxxx> wrote: > >> As you can see, that is fs/readdir.c - not fuse alone. And I guess it is > >> right to stop on a pending signal. For me a but surprising that the > >> first entry is still accepted and only then the signal is checked. > > > > Do you know how old this behavior is? It would be great to not have to > > write the kludge on my side, but if it has been out there for a long > > time, I can't pretend the problem doesn't exist once it is fixed, as > > it will still crop up if folks run things on older kernels. The > > runtime for Go has been issuing SIGURG for preempted goroutines since > > ~2020. > > Following git history, I think introduced here > > commit 1f60fbe7274918adb8db2f616e321890730ab7e3 > Author: Theodore Ts'o <tytso@xxxxxxx> > Date: Sat Apr 23 22:50:07 2016 -0400 yeah, that is too old. I implemented the kludge here: https://review.gerrithub.io/c/hanwen/go-fuse/+/1201139 It is not that bad after all. -- Han-Wen Nienhuys - hanwenn@xxxxxxxxx - http://www.xs4all.nl/~hanwen