Whamcloud - gitweb
LU-3618 ptlrpc: rq_commit_cb is called for twice
authorLiang Zhen <liang.zhen@intel.com>
Sun, 12 Jan 2014 16:11:47 +0000 (00:11 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 14 Feb 2014 16:35:28 +0000 (11:35 -0500)
commita94cbcd56495c8e4e6009e6ee9c8587e487016b3
treefadf0f661ca60a4b9ca1b3e66b860d56e2f8a171
parent3b5c74aa80c8171f3bb99ccb00cf01e666120c08
LU-3618 ptlrpc: rq_commit_cb is called for twice

If a ptlrpc_request is already on imp::imp_replay_list, when it's
replayed and replied, after_reply() will call req::rq_commit_cb
for the request, then call it again in ptlrpc_free_committed.

Signed-off-by: Liang Zhen <liang.zhen@intel.com>
Change-Id: I796c3351ad896aa3e1d0c2147ca7f775b7c14bfc
Reviewed-on: http://review.whamcloud.com/8815
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ptlrpc/client.c