projects
/
linux-2.6-microblaze.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
|
history
diff --git
a/fs/nfs/pagelist.c
b/fs/nfs/pagelist.c
index
68f6bf1
..
8d2642f
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;