stgt.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
To: apoikos@debian.org
Cc: stgt@vger.kernel.org
Subject: Re: [PATCH] systemd notification support
Date: Sun, 25 May 2014 20:18:02 +0900	[thread overview]
Message-ID: <20140525201641O.fujita.tomonori@lab.ntt.co.jp> (raw)
In-Reply-To: <1400640207-2743-1-git-send-email-fujita.tomonori@lab.ntt.co.jp>

On Wed, 21 May 2014 11:43:27 +0900
FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> wrote:

> From: Apollon Oikonomopoulos <apoikos@debian.org>
> 
> tgtd may take some time to initialize before accepting management
> commands. Since management commands are used to bring the targets up
> during service startup, we have to make sure that tgtd is responsive
> before proceeding. To this end, we add a call to sd_notify(3) right
> before entering the event loop to signal systemd (if applicable) that
> the main process is ready.
> 
> Systemd support with the relevant includes and linker flags is optional,
> controlled by the SD_NOTIFY make flag.
> 
> Signed-off-by: Apollon Oikonomopoulos <apoikos@debian.org>
> ---
>  Makefile     | 1 +
>  usr/Makefile | 8 ++++++++
>  usr/tgtd.c   | 4 ++++
>  usr/tgtd.h   | 4 ++++
>  4 files changed, 17 insertions(+)

Applied, thanks a lot!

      parent reply	other threads:[~2014-05-25 11:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-21  2:43 [PATCH] systemd notification support FUJITA Tomonori
2014-05-21 21:00 ` Andy Grover
2014-05-21 22:00   ` Apollon Oikonomopoulos
2014-05-25 11:18     ` FUJITA Tomonori
2014-05-25 11:18 ` FUJITA Tomonori [this message]

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=20140525201641O.fujita.tomonori@lab.ntt.co.jp \
    --to=fujita.tomonori@lab.ntt.co.jp \
    --cc=apoikos@debian.org \
    --cc=stgt@vger.kernel.org \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).