summaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorChristophe Varoqui <christophe.varoqui@free.fr>2007-11-19 01:12:23 +0100
committerChristophe Varoqui <christophe.varoqui@free.fr>2007-11-19 01:12:23 +0100
commit0c858203d190690ad46beaa7d9a187260533f7d3 (patch)
tree96f31b82d01fce9449710c4342e7e57847a3d53c /Makefile.inc
parentf3e2b4ee182ea9cb2403e1718eee20a55e84dc49 (diff)
downloadmultipath-tools-0c858203d190690ad46beaa7d9a187260533f7d3.tar.gz
multipath-tools-0c858203d190690ad46beaa7d9a187260533f7d3.tar.bz2
multipath-tools-0c858203d190690ad46beaa7d9a187260533f7d3.zip
[libprio] initial commit
Priority callouts are nice, but have drawbacks. 1) multipathd holds a fd per path, but callouts have to open another for themselves. Which may fail. 2) callouts stored on a multipahed filesystem may hang multipathed on paging operation when there are no active path for the hosting device (getprio is in the salvation codepath). The window is small but Netapp fault injection tool manage to triggers the bug reliably. This patch merges to priority methods in multipathd.
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 7e2d4e6..1b07ab0 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -24,6 +24,7 @@ exec_prefix = $(prefix)
bindir = $(exec_prefix)/sbin
libudevdir = ${prefix}/lib/udev
checkersdir = $(TOPDIR)/libcheckers
+libpriodir = $(TOPDIR)/libprio
multipathdir = $(TOPDIR)/libmultipath
mandir = $(prefix)/usr/share/man/man8
man5dir = $(prefix)/usr/share/man/man5
@@ -33,6 +34,7 @@ GZIP = /bin/gzip -9 -c
CHECKERSLIB = $(checkersdir)/libcheckers
MULTIPATHLIB = $(multipathdir)/libmultipath
+LIBPRIO = $(libpriodir)/libprio
INSTALL_PROGRAM = install -s