]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fuse: optimize over-io-uring request expiration check
authorJoanne Koong <joannelkoong@gmail.com>
Mon, 3 Feb 2025 19:30:22 +0000 (11:30 -0800)
committerMiklos Szeredi <mszeredi@redhat.com>
Tue, 15 Apr 2025 11:43:38 +0000 (13:43 +0200)
commit4fea593e625cd50d4d11be227007849b12f17bfb
tree448af399da21697fbda3f1538ff48966a196e4c6
parent03a3617f92c2a7220af20d5b6b44420049dbe6e3
fuse: optimize over-io-uring request expiration check

Currently, when checking whether a request has timed out, we check
fpq processing, but fuse-over-io-uring has one fpq per core and 256
entries in the processing table. For systems where there are a
large number of cores, this may be too much overhead.

Instead of checking the fpq processing list, check ent_w_req_queue
and ent_in_userspace.

Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Reviewed-by: Bernd Schubert <bernd@bsbernd.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dev.c
fs/fuse/dev_uring.c
fs/fuse/fuse_dev_i.h