Re: [PATCH] fuse: select alternative io_uring queue if local queue is full

Bernd Schubert <[email protected]> Thu, 16 Jul 2026 00:07:42 +0200
Newsgroups dev.linux.lists.fuse-devel,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel
Message-ID <[email protected]>

On 7/15/26 19:51, Joanne Koong wrote:
> On Tue, Jul 14, 2026 at 12:33 AM Li Wang <[email protected]> wrote:
>>
>> fuse_uring_task_to_queue() always maps requests to the queue for
>> task_cpu(current). A single-threaded submitter with high queue depth
>> could leave other per-CPU queues idle while one queue handles all
>> traffic.
>>
>> Prefer the local queue when it has available ring entries. If the local
>> queue is full, try other queues on the same NUMA node before falling
>> back to use the local queue.
> 
> Hi Li,
> 
> I think this is already covered by Bernd's changes in his reduced
> queues patchset [1].
> 
> Thanks,
> Joanne
> 
> [1] https://lore.kernel.org/fuse-devel/[email protected]/

It is a slightly different approach, but both have the same goal
to get more balanced queue/core usage.

I will submit a new version once I'm back from vacation.


Thanks,
Bernd