Re: [RFC PATCH] fuse: give wakeup hints to the scheduler for synchronous requests

Miklos Szeredi <[email protected]>
Newsgroups dev.linux.lists.fuse-devel,org.kernel.vger.linux-kernel
Message-ID <CAJfpegsvgWP1SO_nbNAGd-EVJpopc_0ZAA3Krax=gVaEKEPYAA@mail.gmail.com>
On Fri, 31 Jul 2026 at 09:02, Xuewen Yan <[email protected]> wrote:

> The earlier version of this change [1] added a `bool sync` argument
> to all three hooks of `struct fuse_iqueue_ops` and threaded it
> through virtio_fs as well.  Miklos questioned the interface churn,
> and the patch has been stalled since.

Looks good.  WF_SYNC definition is "Waker goes to sleep after wakeup".
AFAICS this patch accurately sets this only in the case when the
server needs to go to sleep.  If this introduces regressions, then
that would be a scheduler bug.

Applied, thanks.

Miklos
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.