From 36931bf93d4316608c0f5935cf489c9b3d15e921 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Mon, 12 Mar 2012 13:17:15 -0400 Subject: exportfs: Stop racing exportfs on clusters This problem can occur when multiple cluster services fail over at the same time, causing missing high-available exports. Having a lot of nfs-exports will trigger this issue easier. https://bugzilla.linux-nfs.org/show_bug.cgi?id=224 Signed-off-by: Steve Dickson --- support/include/exportfs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'support/include') diff --git a/support/include/exportfs.h b/support/include/exportfs.h index 01e87dd..99916e5 100644 --- a/support/include/exportfs.h +++ b/support/include/exportfs.h @@ -32,6 +32,10 @@ enum { FSLOC_STUB }; +#ifndef EXP_LOCKFILE +#define EXP_LOCKFILE "/var/lib/nfs/export-lock" +#endif + typedef struct mclient { struct mclient * m_next; char * m_hostname; -- cgit