Looks like a hack. see mt_rpcint.c

"Currently these functions route all nfs global clients to the global zone.
 When this upgrade-workaround is removed these function should return the
 correct zone or their calls should be changed (rpc_zone() to curproc->p_zone
 and rpc_zoneid() to getzoneid())." 

Also i noted it was not initialized and found :- 
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6851444

hth.
Robert. 

On Mar 21, 2011, at 10:32 AM, Paul Fronberg wrote:

> What does nfs_global_client_only do?
> 
> We've had to set this flag to get a kernel module (issuing a VOP_GETATTR) to 
> work
> properly when accessing an NFS mounted partition in a non-global zone.
> The kernel modure appears to be running in the global zone and is issuing a 
> cross-zone
> request to an NFS mount in a non-global zone.
> 
> I haven't been able to find much documentation about this.
> -- 
> This message posted from opensolaris.org
> _______________________________________________
> nfs-discuss mailing list
> [email protected]

_______________________________________________
nfs-discuss mailing list
[email protected]

Reply via email to