Re: [RFC PATCH] fuse: give wakeup hints to the scheduler for synchronous requests
From: Miklos Szeredi
Date: Tue Aug 18 2026 - 06:08:17 EST
On Fri, 31 Jul 2026 at 09:02, Xuewen Yan <xuewen.yan@xxxxxxxxxx> 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