Please don't reply to lustre-devel. Instead, comment in Bugzilla by using the 
following link:
https://bugzilla.lustre.org/show_bug.cgi?id=10786



(From update of attachment 9475)
>+# check kernel can support nfs failover
>+AC_DEFUN([LC_CORRECT_NFSD],
>+[AC_MSG_CHECKING([check nfsd can support failover])
>+LB_LINUX_TRY_COMPILE([
>+        #include <linux/version.h>
>+],[
>+        #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0)) && 
>(LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16))
>+        #error "this version nfsd can\`t support export non standart devices"
>+        #endif

I tend to agree with Andreas that check like this is not enough due to patched
kernels. Of course it is hard to find out if there is no kernel source, too.
(and if we were to use code like this, no point in configure check, just put
that same #if into lustre sources)

_______________________________________________
Lustre-devel mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-devel

Reply via email to