Re: [PATCH 1/4] NFS: slight optimization for walking list for delegations

2018-04-30 Thread Steven Rostedt
On Mon, 30 Apr 2018 14:31:30 +1000 NeilBrown wrote: > There are 3 places where we walk the list of delegations > for an nfs_client. > In each case there are two nested loops, one for nfs_servers > and one for nfs_delegations. > > When we find an interesting delegation we try to get an active > r

[PATCH 1/4] NFS: slight optimization for walking list for delegations

2018-04-29 Thread NeilBrown
There are 3 places where we walk the list of delegations for an nfs_client. In each case there are two nested loops, one for nfs_servers and one for nfs_delegations. When we find an interesting delegation we try to get an active reference to the server. If that fails, it is pointless to continue