Skip to content
Commit 760eac73 authored by Zhao Chen's avatar Zhao Chen Committed by Miklos Szeredi
Browse files

fuse: Introduce a new notification type for resend pending requests



When a FUSE daemon panics and failover, we aim to minimize the impact on
applications by reusing the existing FUSE connection. During this process,
another daemon is employed to preserve the FUSE connection's file
descriptor. The new started FUSE Daemon will takeover the fd and continue
to provide service.

However, it is possible for some inflight requests to be lost and never
returned. As a result, applications awaiting replies would become stuck
forever. To address this, we can resend these pending requests to the
new started FUSE daemon.

This patch introduces a new notification type "FUSE_NOTIFY_RESEND", which
can trigger resending of the pending requests, ensuring they are properly
processed again.

Signed-off-by: default avatarZhao Chen <winters.zc@antgroup.com>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent e022f6a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment