+2
−0
+78
−82
+1
−1
+0
−1
Loading
Searching for returnable delegations in the per-server delegations list can be very expensive. While commit e04bbf6b ("NFS: Avoid quadratic search when freeing delegations.") reduced the overhead a bit, the fact that all the non-returnable delegations have to be searched limits the amount of optimizations that can be done. Fix this by introducing a separate list that only contains delegations scheduled for return. Signed-off-by:Christoph Hellwig <hch@lst.de> Signed-off-by:
Anna Schumaker <anna.schumaker@oracle.com>