Skip to content

RFC fuse: Add timeout support for fuse connection

Yafang Shao linux-fsdevel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fuse: Add "timeout" sysfs attribute for each fuse connectionfs/fuse/control.c fs/fuse/fuse_i.h+53 -20 replies
2/2fuse: Enhance each fuse connection with timeout supportfs/fuse/dev.c fs/fuse/fuse_i.h+51 -83 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] fuse: Add timeout support for fuse connection

Currently, when an issue arises within the FUSE daemon, the FUSE connection can become indefinitely stuck. The only resolution currently available is to manually abort the connection using the sysfs interface. However, relying solely on the abort interface for automatic error handling is unreliable. To address this, a timeout mechanism has been introduced in this series. When the timeout is reached without receiving a response from the FUSE daemon, the FUSE request will terminate with an error code returned to the user space, enabling the user space to handle the situation appropriately.

Furthermore, the timeout value is configurable by the user, allowing for customization based on specific workload requirements.

Yafang Shao (2):
fuse: Add "timeout" sysfs attribute for each fuse connection
fuse: Enhance each fuse connection with timeout support

 fs/fuse/control.c | 50 ++++++++++++++++++++++++++++++++++++++++-
 fs/fuse/dev.c     | 57 ++++++++++++++++++++++++++++++++++++++++-------
 fs/fuse/fuse_i.h  |  7 +++++-
 3 files changed, 104 insertions(+), 10 deletions(-)
Signature · 1 line
2.43.5