From 5fb04a376e6d5ba940e66507e4a615f4e94116e6 Mon Sep 17 00:00:00 2001 From: Fred Isaman Date: Thu, 22 Feb 2007 15:48:53 +1100 Subject: Extend the exportfs interface to pass fslocations info into the kernel. Extend exportfs interface to pass fslocations info into the kernel, using syntax modelled after AIX. Adds "refer=" and "replicas=" options to /etc/exports to enable use of the kernel fslocation code. Signed-off-by: Fred Isaman Signed-off-by: Kevin Coffman Signed-off-by: Neil Brown --- support/include/exportfs.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'support/include/exportfs.h') diff --git a/support/include/exportfs.h b/support/include/exportfs.h index 10f38c7..458611b 100644 --- a/support/include/exportfs.h +++ b/support/include/exportfs.h @@ -23,6 +23,13 @@ enum { MCL_MAXTYPES }; +enum { + FSLOC_NONE = 0, + FSLOC_REFER, + FSLOC_REPLICA, + FSLOC_STUB +}; + typedef struct mclient { struct mclient * m_next; char m_hostname[NFSCLNT_IDMAX+1]; -- cgit