Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed0af2d
)
b=21574 schedule ping asap instead of delaying it
author
Johann Lombardi
<johann@sun.com>
Sat, 16 Jan 2010 14:19:03 +0000
(15:19 +0100)
committer
Johann Lombardi
<johann@sun.com>
Sat, 16 Jan 2010 14:19:03 +0000
(15:19 +0100)
i=oleg
i=andrew
The intent was to schedule a ping as soon as possible to know
sooner rather than later that the transno has been committed.
This is used by the async journal feature to unpin pages
in memory sooner.
lustre/ptlrpc/client.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/client.c
b/lustre/ptlrpc/client.c
index
1ddb24a
..
ef872ec
100644
(file)
--- a/
lustre/ptlrpc/client.c
+++ b/
lustre/ptlrpc/client.c
@@
-1088,7
+1088,7
@@
static int after_reply(struct ptlrpc_request *req)
ptlrpc_free_committed(imp);
if (req->rq_transno > imp->imp_peer_committed_transno)
- ptlrpc_pinger_
sending_on_import
(imp);
+ ptlrpc_pinger_
commit_expected
(imp);
spin_unlock(&imp->imp_lock);
}