From: Andreas Dilger Date: Sat, 25 Feb 2012 01:17:55 +0000 (-0700) Subject: LU-1019 ptlrpc: fix ptlrpcd transfer message X-Git-Tag: 2.1.58~11 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=3e39a4218f3f69e67f5c8ef85a92f55a9e351fd0;p=fs%2Flustre-release.git LU-1019 ptlrpc: fix ptlrpcd transfer message Fix the debug message when transferring requests between ptlrpcd threads to correctly identify the source and target thread index. Signed-off-by: Andreas Dilger Change-Id: I330deb92a2ae0c9134dbf24ee6074e0cf9803d31 Reviewed-on: http://review.whamcloud.com/2195 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Jinshan Xiong Reviewed-by: Fan Yong Reviewed-by: Oleg Drokin --- diff --git a/lustre/ptlrpc/ptlrpcd.c b/lustre/ptlrpc/ptlrpcd.c index 69bd210..aac67d0 100644 --- a/lustre/ptlrpc/ptlrpcd.c +++ b/lustre/ptlrpc/ptlrpcd.c @@ -381,8 +381,8 @@ static int ptlrpcd_check(struct lu_env *env, struct ptlrpcd_ctl *pc) if (rc > 0) CDEBUG(D_RPCTRACE, "transfer %d" " async RPCs [%d->%d]\n", - rc, pc->pc_index, - partner->pc_index); + rc, partner->pc_index, + pc->pc_index); } ptlrpc_reqset_put(ps); } while (rc == 0 && pc->pc_cursor != first);