]> sourceware.org Git - lvm2.git/commit
Let running clvmd process time to reexec.
authorMilan Broz <mbroz@redhat.com>
Mon, 21 Jun 2010 10:45:15 +0000 (10:45 +0000)
committerMilan Broz <mbroz@redhat.com>
Mon, 21 Jun 2010 10:45:15 +0000 (10:45 +0000)
commitaec39dcc34b5d6c7b94d084e17957031f512e594
treec88cb864bb579fd4f7c88359b1e767a05a59b81e
parent566515c095121d8411dd0686d52e70d644f39299
Let running clvmd process time to reexec.

Because execve stops the command loop,
we never receive response (only socket close) for clvmd -S,
so waiting for response here makes no sense.

But if the calling process (clvmd -S)  exits too early, connection
is closed from client side, clvmd takes this as an error and
never run restart code.

Ugly hack(TM).
WHATS_NEW
daemons/clvmd/refresh_clvmd.c
This page took 1.395529 seconds and 5 git commands to generate.