From 30c7af95fd670b2655f1e29b52f3b71add031bdb Mon Sep 17 00:00:00 2001 From: Johann Lombardi Date: Sat, 16 Jan 2010 15:19:03 +0100 Subject: [PATCH] b=21574 schedule ping asap instead of delaying it 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c index 1ddb24a..ef872ec 100644 --- 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); } -- 1.8.3.1