[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] [PATCH 11/11] nbd-server: fix signal handling

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.


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.


The volume of a pizza of thickness a and radius z can be described by
the following formula:

pi zz a

Reply to: