Hi,

 

The client owner generation logic on knfs client is very simple and tries to differentiate on the basis of NFS version and hostname. Here’s a snippet,

 

scnprintf(str, len, "Linux NFSv%u.%u %s",
   clp->rpc_ops->version, clp->cl_minorversion,
   clp->cl_rpcclient->cl_nodename);
 clp->cl_owner_id = str;

 

 

This causes a problem in ganesha in case there are multiple clients connecting to ganesha with same hostname using same NFS version. When comparing client owners, ganesha only takes the client owner from the NFS client into consideration. But if we consider client owner and client IP address to decide if it is the same client before expiring the state, it will treat them as different clients and avoid unnecessary expiry.

 

Any thoughts?

 

Thanks,

Sriram