From 3e39a4218f3f69e67f5c8ef85a92f55a9e351fd0 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Fri, 24 Feb 2012 18:17:55 -0700 Subject: [PATCH] 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 --- lustre/ptlrpc/ptlrpcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 1.8.3.1