Whamcloud - gitweb
LU-5319 ptlrpc: Add a tag field to ptlrpc messages 95/14095/2
authorGregoire Pichon <gregoire.pichon@bull.net>
Tue, 17 Mar 2015 15:28:24 +0000 (16:28 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 6 Apr 2015 01:05:33 +0000 (01:05 +0000)
commit3998a8e474b58a5bb4bc47b620adc836c27ab70d
treebfc72cd6b6e2946e7fff02484107c0d6f85a7a09
parent0eb4582d87e32dd3e5491e13ba659e625624bfe7
LU-5319 ptlrpc: Add a tag field to ptlrpc messages

The new tag field is used as a virtual index for multiple modifying
RPCs management. It is set by the client and allows the target to
release in-memory reply data when the tag is reused by a new RPC.

The tag field replaces the unused last_seen field of ptlrpcd_body
structure.

Additionally, the last_xid field is used to transfer the highest XID
for which a reply has been received and does not have an unreplied
lower-numbered XID.

Signed-off-by: Gregoire Pichon <gregoire.pichon@bull.net>
Change-Id: I4a57f3710ffffe21d8d655af6ac222b65051a12d
Reviewed-on: http://review.whamcloud.com/14095
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_net.h
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c