mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-19 16:14:13 +08:00
NFS: reduce latency by using conditional rescheduling in nfs_scan_list
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
dce34ce298
commit
edc05fc1c2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user