1
0
Fork 0

NFS: reduce latency by using conditional rescheduling in nfs_scan_list

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
wifi-calibration
Trond Myklebust 2007-06-17 16:02:34 -04:00
parent dce34ce298
commit edc05fc1c2
1 changed files with 2 additions and 1 deletions

View File

@ -429,7 +429,8 @@ int nfs_scan_list(struct nfs_inode *nfsi,
goto out;
}
}
/* for latency reduction */
cond_resched_lock(&nfsi->req_lock);
}
out:
return res;