diff --git a/fs/nfs/pagelist.c b/fs/nfs/pagelist.c index 68f6bf1220061d9fa12f0bd641786d1485b67f8e..8d2642f24b8fae44603873612c37614e6985e2f4 100644 --- a/fs/nfs/pagelist.c +++ b/fs/nfs/pagelist.c @@ -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;