projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dce34ce
)
NFS: reduce latency by using conditional rescheduling in nfs_scan_list
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sun, 17 Jun 2007 20:02:34 +0000
(16:02 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 11 Jul 2007 03:40:27 +0000
(23:40 -0400)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pagelist.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/pagelist.c
b/fs/nfs/pagelist.c
index 68f6bf1220061d9fa12f0bd641786d1485b67f8e..8d2642f24b8fae44603873612c37614e6985e2f4 100644
(file)
--- 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;