Linux Device Mapper development
 help / color / mirror / Atom feed
From: bmarzins@sourceware.org
To: dm-cvs@sourceware.org, dm-devel@redhat.com
Subject: multipath-tools/libcheckers rdac.c
Date: 24 Jun 2009 21:15:53 -0000	[thread overview]
Message-ID: <20090624211553.21042.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/dm
Module name:	multipath-tools
Branch: 	RHEL5_FC6
Changes by:	bmarzins@sourceware.org	2009-06-24 21:15:52

Modified files:
	libcheckers    : rdac.c 

Log message:
	Pulled Charlie Brady's patch from dm-devel to make the rdac checker print the
	right message on changes to PATH_UP and PATH_GHOST.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libcheckers/rdac.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.1.2.2&r2=1.1.2.3

--- multipath-tools/libcheckers/Attic/rdac.c	2007/06/18 21:12:54	1.1.2.2
+++ multipath-tools/libcheckers/Attic/rdac.c	2009/06/24 21:15:52	1.1.2.3
@@ -105,5 +105,12 @@
 		return PATH_DOWN;
 	}
 
-	return ((inq.avtcvp & 0x1) ? PATH_UP : PATH_GHOST);
+	if (inq.avtcvp & 0x1) {
+		MSG(c, MSG_RDAC_UP);
+		return PATH_UP;
+	}
+	else {
+		MSG(c, MSG_RDAC_GHOST);
+		return PATH_GHOST;
+	}
 }

             reply	other threads:[~2009-06-24 21:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-24 21:15 bmarzins [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-11-04 20:21 multipath-tools/libcheckers rdac.c bmarzins

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=20090624211553.21042.qmail@sourceware.org \
    --to=bmarzins@sourceware.org \
    --cc=dm-cvs@sourceware.org \
    --cc=dm-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox