Whamcloud - gitweb
LU-3618 ptlrpc: rq_commit_cb is called for twice 15/8815/3
authorLiang Zhen <liang.zhen@intel.com>
Sun, 12 Jan 2014 16:11:47 +0000 (00:11 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 17 Jan 2014 23:17:41 +0000 (23:17 +0000)
commit8c64be3fbf4206ac6aa3df2eaa078e0630fa33aa
tree1afe2e24c0c2f423df6a5d54c5f0610102ccd69f
parente5b4d636e54bd5081a8ba1568169a84324aeddf8
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