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