+2
−1
+6
−3
+4
−0
+5
−0
Loading
rq_lease_breaker has always been a NFSv4 specific layering violation in svc_rqst. The reason it's there though is that we need a place that is thread-local, and accessible from the svc_rqst pointer. Add a new rq_private pointer to struct svc_rqst. This is intended for use by the threads that are handling the service. sunrpc code doesn't touch it. In nfsd, define a new struct nfsd_thread_local_info. nfsd declares one of these on the stack and puts a pointer to it in rq_private. Add a new ntli_lease_breaker field to the new struct and convert all of the places that access rq_lease_breaker to use the new field instead. Signed-off-by:Jeff Layton <jlayton@kernel.org> Reviewed-by:
Benjamin Coddington <bcodding@hammerspace.com> Signed-off-by:
Chuck Lever <chuck.lever@oracle.com>