summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorJoanne Koong <joannelkoong@gmail.com>2025-01-23 00:55:27 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2025-03-31 15:59:25 +0300
commit0f6439f61a6e2ddc92b98362c6d1afc210f56a90 (patch)
treeafefdaeeee1cfddeff0017232c15c40752a76ef5 /tools/perf/scripts/python/libxed.py
parenteef36cf6a7016cb5353d4b0a9dbdfbd52c4bd973 (diff)
downloadlinux-0f6439f61a6e2ddc92b98362c6d1afc210f56a90.tar.xz
fuse: add kernel-enforced timeout option for requests
There are situations where fuse servers can become unresponsive or stuck, for example if the server is deadlocked. Currently, there's no good way to detect if a server is stuck and needs to be killed manually. This commit adds an option for enforcing a timeout (in seconds) for requests where if the timeout elapses without the server responding to the request, the connection will be automatically aborted. Please note that these timeouts are not 100% precise. For example, the request may take roughly an extra FUSE_TIMEOUT_TIMER_FREQ seconds beyond the requested timeout due to internal implementation, in order to mitigate overhead. [SzM: Bump the API version number] Signed-off-by: Joanne Koong <joannelkoong@gmail.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions