linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gao Xiang <hsiangkao@linux.alibaba.com>
To: 赵晨 <winters.zc@antgroup.com>, linux-fsdevel@vger.kernel.org
Cc: miklos@szeredi.hu, Peng Tao <tao.peng@linux.alibaba.com>,
	Liu Bo <bo.liu@linux.alibaba.com>,
	Joseph Qi <joseph.qi@linux.alibaba.com>,
	Jeffle Xu <jefflexu@linux.alibaba.com>
Subject: Re: [PATCH v[n] 2/2] fuse: Introduce sysfs API for resend pending requests
Date: Wed, 1 Nov 2023 08:52:23 +0800	[thread overview]
Message-ID: <a2cfba03-ad3c-c8b6-0ac8-6801fcee6bf8@linux.alibaba.com> (raw)
In-Reply-To: <20231031144043.68534-3-winters.zc@antgroup.com>



On 2023/10/31 22:40, 赵晨 wrote:
> From: Peng Tao <tao.peng@linux.alibaba.com>
> 
> 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@linux.alibaba.com>
> Reviewed-by: Liu Bo <bo.liu@linux.alibaba.com>
> Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com>
> Reviewed-by: Jeffle Xu <jefflexu@linux.alibaba.com>
> Acked-by: Gao Xiang <hsiangkao@linux.alibaba.com>

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

Thanks,
Gao Xiang

  reply	other threads:[~2023-11-01  0:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-31 14:40 [PATCH v1 0/2] fuse: Introduce sysfs APIs to flush or resend pending requests 赵晨
2023-10-31 14:40 ` [PATCH v[n] 1/2] fuse: Introduce sysfs API for flushing " 赵晨
2023-10-31 14:40 ` [PATCH v[n] 2/2] fuse: Introduce sysfs API for resend " 赵晨
2023-11-01  0:52   ` Gao Xiang [this message]
2023-11-02 15:17 ` [PATCH v1 0/2] fuse: Introduce sysfs APIs to flush or " Miklos Szeredi
2023-11-06  9:57   ` 赵晨
2023-11-06 10:39     ` Miklos Szeredi
2023-11-06 12:03       ` 赵晨

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a2cfba03-ad3c-c8b6-0ac8-6801fcee6bf8@linux.alibaba.com \
    --to=hsiangkao@linux.alibaba.com \
    --cc=bo.liu@linux.alibaba.com \
    --cc=jefflexu@linux.alibaba.com \
    --cc=joseph.qi@linux.alibaba.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    --cc=tao.peng@linux.alibaba.com \
    --cc=winters.zc@antgroup.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).