Whamcloud - gitweb
LU-2360 ptlrpc: don't clobber rq_history_seq with CPT_ANY
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 30 Jan 2013 02:23:13 +0000 (20:23 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 8 Feb 2013 23:25:44 +0000 (18:25 -0500)
commit9e7f48b9b6e128bc664e76919c7e25c5ebd2d75a
tree939b5965f442dd2549354533acf840b6916db38a
parentcf8137a07b130baa24002409c6bc51575217d67a
LU-2360 ptlrpc: don't clobber rq_history_seq with CPT_ANY

In ptlrpc_req_add_history() don't allow service_parts with cpt CPT_ANY
(-1) to clobber the timestamp and sequence bits of rq_history_seq.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I52161d6f36dcd70dd569b0be294e6d23cc5ac4a9
Reviewed-on: http://review.whamcloud.com/5207
Tested-by: Hudson
Reviewed-by: Liang Zhen <liang.zhen@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/ptlrpc/events.c