Whamcloud - gitweb
b=17630 Don't export nfs when work with 4k stack.
authoryangsheng <Sheng.Yang@sun.com>
Fri, 13 Aug 2010 13:05:28 +0000 (17:05 +0400)
committerMikhail Pershin <tappro@sun.com>
Mon, 16 Aug 2010 20:01:41 +0000 (00:01 +0400)
i=adilger

lustre/ChangeLog
lustre/llite/llite_lib.c

index e23a18c..0a3963c 100644 (file)
@@ -11,6 +11,9 @@ TBD  Oracle, Inc.
          2.6.27.19-5 (SLES11)
         2.6.29.4-167.fc11 (FC11)
        * Recommended e2fsprogs version: 1.41.10-sun2
+       * NFS export disabled when stack size < 8192. Since the NFSv4 export of 
+         Lustre filesystem with 4K stack may cause a stack overflow. For more
+         information, please refer to bugzilla 17630.
 
 --------------------------------------------------------------------------------
 
index 486905e..9ef782f 100644 (file)
@@ -413,7 +413,9 @@ static int client_common_fill_super(struct super_block *sb, char *md, char *dt)
         CDEBUG(D_SUPER, "rootfid "DFID"\n", PFID(&sbi->ll_root_fid));
 
         sb->s_op = &lustre_super_operations;
+#if THREAD_SIZE >= 8192
         sb->s_export_op = &lustre_export_operations;
+#endif
 
         /* make root inode
          * XXX: move this to after cbd setup? */