All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio M. Di Nitto <fdinitto@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH] pid files cleanup take 2
Date: Mon, 12 Jul 2010 11:37:50 +0200	[thread overview]
Message-ID: <4C3AE26E.40900@redhat.com> (raw)

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>

                 reply	other threads:[~2010-07-12  9:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4C3AE26E.40900@redhat.com \
    --to=fdinitto@redhat.com \
    --cc=lvm-devel@redhat.com \
    /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 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.