Re: [Nbd] [PATCH 11/11] nbd-server: fix signal handling
- To: "Dmitry V. Levin" <ldv@...1147...>
- Cc: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] [PATCH 11/11] nbd-server: fix signal handling
- From: Wouter Verhelst <w@...112...>
- Date: Sun, 24 Jun 2012 01:46:42 +0200
- Message-id: <20120623234642.GM7471@...3...>
- In-reply-to: <20120621214600.GK26247@...1147...>
- References: <20120621214600.GK26247@...1147...>
On Fri, Jun 22, 2012 at 01:46:04AM +0400, Dmitry V. Levin wrote:
> Reset SIGCHLD and SIGTERM handlers to SIG_DFL in child processes because
> it is not their business to handle these signals. Block SIGCHLD and
> SIGTERM for the short time of fork, changing signal handlers and
> changing "children" hash table to avoid race conditions with nasty
> consequences. Fix SIGTERM handler to always unlink pidfile.
Right.
I've applied all of those patches (didn't see why not, really). Got any
more coming? If not, I'll prepare a 3.2 soon.
Thanks,
--
The volume of a pizza of thickness a and radius z can be described by
the following formula:
pi zz a
Reply to: