Dai Ngo 7ef6010806 NFS: remove revoked delegation from server's delegation list
After the delegation is returned to the NFS server remove it
from the server's delegations list to reduce the time it takes
to scan this list.

Network trace captured while running the below script shows the
time taken to service the CB_RECALL increases gradually due to
the overhead of traversing the delegation list in
nfs_delegation_find_inode_server.

The NFS server in this test is a Solaris server which issues
CB_RECALL when receiving the all-zero stateid in the SETATTR.

mount=/mnt/data
for i in $(seq 1 20)
do
   echo $i
   mkdir $mount/testtarfile$i
   time  tar -C $mount/testtarfile$i -xf 5000_files.tar
done

Signed-off-by: Dai Ngo <dai.ngo@oracle.com>
Reviewed-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
2024-10-09 15:39:22 -04:00
..
2017-11-17 14:18:00 -08:00
2017-11-17 14:18:00 -08:00
2024-09-12 12:20:41 +02:00
2024-09-12 12:20:41 +02:00
2024-09-23 15:03:13 -04:00
2021-04-05 09:04:20 -04:00
2024-09-23 15:03:30 -04:00
2023-03-06 09:57:12 +01:00
2024-03-09 09:14:51 -05:00
2015-04-23 15:16:14 -04:00
2024-09-24 15:44:18 -07:00
2023-10-09 16:24:20 +02:00
2024-09-23 15:03:30 -04:00
2024-09-23 15:03:30 -04:00
2024-05-31 12:31:41 +02:00
2023-08-19 10:26:29 -04:00
2024-09-23 15:03:30 -04:00