public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: zhanchengbin <zhanchengbin1@huawei.com>
Cc: steved@redhat.com, linux-nfs@vger.kernel.org,
	liuzhiqiang26@huawei.com, linfeilong <linfeilong@huawei.com>
Subject: Re: [PATCH] nfs-blkmapd: Fix the error status when nfs-blkmapd stops
Date: Fri, 9 Sep 2022 06:27:58 -0700	[thread overview]
Message-ID: <Yxs/Xh015+ADSo1/@infradead.org> (raw)
In-Reply-To: <ae07856f-ef34-270e-91b2-9364fdcd6563@huawei.com>

On Thu, Sep 01, 2022 at 09:44:08PM +0800, zhanchengbin wrote:
> The systemctl stop nfs-blkmap.service will sends the SIGTERM signal
> to the nfs-blkmap.service first.If the process fails to be stopped,
> it sends the SIGKILL signal again to kill the process.
> However, exit(1) is executed in the SIGTERM processing function of
> nfs-blkmap.service. As a result, systemd receives an error message
> indicating that nfs-blkmap.service failed.
> "Active: failed" is displayed when the systemctl status
> nfs-blkmap.service command is executed.

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>

  reply	other threads:[~2022-09-09 13:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-01 13:44 [PATCH] nfs-blkmapd: Fix the error status when nfs-blkmapd stops zhanchengbin
2022-09-09 13:27 ` Christoph Hellwig [this message]
2022-09-13 17:39 ` Steve Dickson

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=Yxs/Xh015+ADSo1/@infradead.org \
    --to=hch@infradead.org \
    --cc=linfeilong@huawei.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=liuzhiqiang26@huawei.com \
    --cc=steved@redhat.com \
    --cc=zhanchengbin1@huawei.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