From: Askar Safin <safinaskar@gmail.com>
To: safinaskar@gmail.com
Cc: linux-btrfs@vger.kernel.org, wqu@suse.com
Subject: Re: [PATCH v2 0/3] btrfs: scrub: enhance freezing and signal handling
Date: Fri, 17 Oct 2025 16:03:31 +0300 [thread overview]
Message-ID: <20251017130331.4045-1-safinaskar@gmail.com> (raw)
In-Reply-To: <20251017093947.1170945-1-safinaskar@gmail.com>
I did some more testing. I found that when systemd freezes processes using
cgroup freezer, then:
- fatal_signal_pending(current) returns false
- freezing(current) returns false
- signal_pending(current) returns true
So, systemd cgroup freezer indeed looks very similar to signal.
--
Askar Safin
next prev parent reply other threads:[~2025-10-17 13:04 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-16 9:42 [PATCH v2 0/3] btrfs: scrub: enhance freezing and signal handling Qu Wenruo
2025-10-16 9:42 ` [PATCH v2 1/3] btrfs: scrub: add cancel/pause/removed bg checks for raid56 parity stripes Qu Wenruo
2025-10-16 9:42 ` [PATCH v2 2/3] btrfs: scrub: cancel the run if the process or fs is being frozen Qu Wenruo
2025-10-16 10:02 ` Filipe Manana
2025-10-16 9:42 ` [PATCH v2 3/3] btrfs: scrub: cancel the run if there is a pending signal Qu Wenruo
2025-10-17 9:47 ` Askar Safin
2025-10-17 10:34 ` Qu Wenruo
2025-10-17 9:39 ` [PATCH v2 0/3] btrfs: scrub: enhance freezing and signal handling Askar Safin
2025-10-17 13:03 ` Askar Safin [this message]
2025-10-18 4:16 ` Askar Safin
2025-10-18 4:26 ` Qu Wenruo
2025-10-18 6:43 ` Askar Safin
2025-10-18 7:14 ` Qu Wenruo
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=20251017130331.4045-1-safinaskar@gmail.com \
--to=safinaskar@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=wqu@suse.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