On Tue, 9 Jan 2024 at 10:24, Zhao Chen <winters.zc@xxxxxxxxxxxx> wrote: > > After the FUSE daemon crashes, the fuse mount point becomes inaccessible. > In some production environments, a watchdog daemon is used to preserve > the FUSE connection's file descriptor (fd). When the FUSE daemon crashes, > a new FUSE daemon is started and takes over the fd from the watchdog > daemon, allowing it to continue providing services. > > However, if any inflight requests are lost during the crash, the user > process becomes stuck as it does not receive any replies. > > To resolve this issue, this patchset introduces a new notification type > that enable resending these pending requests to the FUSE daemon again, > allowing the stuck user process to recover. > > When using the resend API, FUSE daemon needs to ensure avoidance of > processing duplicate non-idempotent requests to prevent potential > consistency issues. The high bit of the fuse request id is utilized for > indicating the resend request. Applied series. Thanks. Miklos