linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] fuse: Add timeout support for fuse connection
@ 2024-07-24  7:11 Yafang Shao
  2024-07-24  7:11 ` [RFC PATCH 1/2] fuse: Add "timeout" sysfs attribute for each " Yafang Shao
  2024-07-24  7:11 ` [RFC PATCH 2/2] fuse: Enhance each fuse connection with timeout support Yafang Shao
  0 siblings, 2 replies; 6+ messages in thread
From: Yafang Shao @ 2024-07-24  7:11 UTC (permalink / raw)
  To: miklos; +Cc: linux-fsdevel, Yafang Shao

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(-)

-- 
2.43.5


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-07-25 17:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-24  7:11 [RFC PATCH 0/2] fuse: Add timeout support for fuse connection Yafang Shao
2024-07-24  7:11 ` [RFC PATCH 1/2] fuse: Add "timeout" sysfs attribute for each " Yafang Shao
2024-07-24  7:11 ` [RFC PATCH 2/2] fuse: Enhance each fuse connection with timeout support Yafang Shao
2024-07-24 17:09   ` Joanne Koong
2024-07-25  2:06     ` Yafang Shao
2024-07-25 17:56       ` Joanne Koong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).