From: Bernd Schubert <bernd.schubert@fastmail.fm>
To: Miklos Szeredi <miklos@szeredi.hu>, Haifeng Xu <haifeng.xu@shopee.com>
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC] fuse: do not generate interrupt requests for fatal signals
Date: Fri, 14 Jun 2024 12:31:25 +0200 [thread overview]
Message-ID: <bb09caf0-bb8d-4948-97db-9ac503377646@fastmail.fm> (raw)
In-Reply-To: <CAJfpegsGOsnqmKT=6_UN=GYPNpVBU2kOjQraTcmD8h4wDr91Ew@mail.gmail.com>
On 6/13/24 09:55, Miklos Szeredi wrote:
> On Thu, 13 Jun 2024 at 06:02, Haifeng Xu <haifeng.xu@shopee.com> wrote:
>>
>> When the child reaper of a pid namespace exits, it invokes
>> zap_pid_ns_processes() to send SIGKILL to all processes in the
>> namespace and wait them exit. But one of the child processes get
>> stuck and its call trace like this:
>>
>> [<0>] request_wait_answer+0x132/0x210 [fuse]
>> [<0>] fuse_simple_request+0x1a8/0x2e0 [fuse]
>> [<0>] fuse_flush+0x193/0x1d0 [fuse]
>> [<0>] filp_close+0x34/0x70
>> [<0>] close_fd+0x38/0x50
>> [<0>] __x64_sys_close+0x12/0x40
>> [<0>] do_syscall_64+0x59/0xc0
>> [<0>] entry_SYSCALL_64_after_hwframe+0x44/0xae
>
> Which process is this?
>
> In my experience such lockups are caused by badly written fuse servers.
Btw, if libfuse should be used, it now supports disabling interrupts
https://github.com/libfuse/libfuse/commit/cef8c8b249023fb8129ae791e0998cbca771f96a
Cheers,
Bernd
next prev parent reply other threads:[~2024-06-14 10:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-13 4:01 Haifeng Xu
2024-06-13 7:55 ` Miklos Szeredi
2024-06-13 10:44 ` Haifeng Xu
2024-06-14 10:01 ` Miklos Szeredi
2024-06-15 12:19 ` Haifeng Xu
2024-08-21 17:38 ` Bernd Schubert
2024-08-27 8:46 ` Haifeng Xu
2024-06-17 7:25 ` Christian Brauner
2024-06-20 6:43 ` Haifeng Xu
2024-06-20 21:40 ` Bernd Schubert
2024-06-21 2:36 ` Haifeng Xu
2024-06-14 10:31 ` Bernd Schubert [this message]
2024-06-15 12:20 ` Haifeng Xu
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=bb09caf0-bb8d-4948-97db-9ac503377646@fastmail.fm \
--to=bernd.schubert@fastmail.fm \
--cc=haifeng.xu@shopee.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miklos@szeredi.hu \
/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
all inboxes | Powered by JetHome®