All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pid files cleanup take 2
@ 2010-07-12  9:37 Fabio M. Di Nitto
  0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2010-07-12  9:37 UTC (permalink / raw)
  To: lvm-devel

Hi all,

this new patch moves create_lockfile to dm_create_lockfile (dm-file.c),
addresses the return code issue and switch also dmeventd to use the
generic implementation.

autoreconf executed on F-12.

NOTE: dmeventd has, in its current implementation, a slightly more
detailed error handling of the pid file. See the 2 return codes that are
not necessary any longer by using dm_create_lock.
If current behavior of dmeventd has to be retained, then we can simply
modify dm_create_lockfile to return different values depending on the
error and dmeventd can simply re-map them for its needs.

Cheers
Fabio
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pid_files2.diff
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20100712/3ad8768a/attachment.ksh>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-12  9:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-12  9:37 [PATCH] pid files cleanup take 2 Fabio M. Di Nitto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.