Skip to content
Snippets Groups Projects
Commit df725538 authored by Yang Sheng's avatar Yang Sheng
Browse files

Branch b1_6

b=17630

i=green, adilger

Disable NFS export when the THREAD_SIZE < 8192.
parent 05245c55
No related branches found
No related tags found
No related merge requests found
...@@ -40,6 +40,9 @@ tbd Sun Microsystems, Inc. ...@@ -40,6 +40,9 @@ tbd Sun Microsystems, Inc.
* File join has been disabled in this release, refer to Bugzilla * File join has been disabled in this release, refer to Bugzilla
16929. 16929.
* A new Lustre ADIO driver is available for MPICH2-1.0.7. * A new Lustre ADIO driver is available for MPICH2-1.0.7.
* 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.
Severity : enhancement Severity : enhancement
Bugzilla : 17201 Bugzilla : 17201
......
...@@ -384,7 +384,7 @@ static int client_common_fill_super(struct super_block *sb, ...@@ -384,7 +384,7 @@ static int client_common_fill_super(struct super_block *sb,
sbi->ll_rootino = rootfid.id; sbi->ll_rootino = rootfid.id;
sb->s_op = &lustre_super_operations; sb->s_op = &lustre_super_operations;
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)) #if THREAD_SIZE >= 8192
sb->s_export_op = &lustre_export_operations; sb->s_export_op = &lustre_export_operations;
#endif #endif
......
...@@ -225,7 +225,7 @@ int ll_dentry_to_fh(struct dentry *dentry, __u32 *datap, int *lenp, ...@@ -225,7 +225,7 @@ int ll_dentry_to_fh(struct dentry *dentry, __u32 *datap, int *lenp,
return 1; return 1;
} }
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0)) #if THREAD_SIZE >= 8192
struct dentry *ll_get_dentry(struct super_block *sb, void *data) struct dentry *ll_get_dentry(struct super_block *sb, void *data)
{ {
__u32 *inump = (__u32*)data; __u32 *inump = (__u32*)data;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment