Re: [PATCH v[n] 2/2] fuse: Introduce sysfs API for resend pending requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2023/10/31 22:40, 赵晨 wrote:
From: Peng Tao <tao.peng@xxxxxxxxxxxxxxxxx>

When a FUSE daemon panics and fails over, we want to reuse the existing
FUSE connection and avoid affecting applications as little as possible.
During FUSE daemon failover, the FUSE processing queue requests are
waiting forreplies from user space daemon that never come back and
applications would stuck forever.

Besides flushing the processing queue requests like being done in
fuse_flush_pq(), we can also resend these requests to user space daemon
so that they can be processed properly again. Such strategy can only be
done for idempotent requests or if the user space daemon takes good care
to record and avoid processing duplicated non-idempotent requests,
otherwise there can be consistency issues. We trust users to know what
they are doing by calling writing to this interface.

Signed-off-by: Peng Tao <tao.peng@xxxxxxxxxxxxxxxxx>
Reviewed-by: Liu Bo <bo.liu@xxxxxxxxxxxxxxxxx>
Signed-off-by: Joseph Qi <joseph.qi@xxxxxxxxxxxxxxxxx>
Reviewed-by: Jeffle Xu <jefflexu@xxxxxxxxxxxxxxxxx>
Acked-by: Gao Xiang <hsiangkao@xxxxxxxxxxxxxxxxx>

Sorry, please don't add my internal ack for downstream kernels to
the community mailing lists.

Thanks,
Gao Xiang




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux