From: tianzy Date: Wed, 29 Apr 2009 01:29:49 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_9_180~53 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=57e224145f7c390e33c295d95c735934d0c54883;p=fs%2Flustre-release.git Branch HEAD fix the printing of rq_xid(change into LPU) b=18280 i=johann i=tianzy --- diff --git a/lustre/mdt/mdt_recovery.c b/lustre/mdt/mdt_recovery.c index 10794c3..4e03c7f 100644 --- a/lustre/mdt/mdt_recovery.c +++ b/lustre/mdt/mdt_recovery.c @@ -1014,7 +1014,7 @@ static void mdt_steal_ack_locks(struct ptlrpc_request *req) if (lustre_msg_get_opc(oldrep->rs_msg) != lustre_msg_get_opc(req->rq_reqmsg)) - CERROR ("Resent req xid "LPX64" has mismatched opc: " + CERROR ("Resent req xid "LPU64" has mismatched opc: " "new %d old %d\n", req->rq_xid, lustre_msg_get_opc(req->rq_reqmsg), lustre_msg_get_opc(oldrep->rs_msg)); diff --git a/lustre/ptlrpc/lproc_ptlrpc.c b/lustre/ptlrpc/lproc_ptlrpc.c index d217c62..8464878 100644 --- a/lustre/ptlrpc/lproc_ptlrpc.c +++ b/lustre/ptlrpc/lproc_ptlrpc.c @@ -443,7 +443,7 @@ static int ptlrpc_lprocfs_svc_req_history_show(struct seq_file *s, void *iter) * must be just as careful as the service's request * parser. Currently I only print stuff here I know is OK * to look at coz it was set up in request_in_callback()!!! */ - seq_printf(s, LPD64":%s:%s:x"LPD64":%d:%s:%ld:%lds(%+lds) ", + seq_printf(s, LPD64":%s:%s:x"LPU64":%d:%s:%ld:%lds(%+lds) ", req->rq_history_seq, libcfs_nid2str(req->rq_self), libcfs_id2str(req->rq_peer), req->rq_xid, req->rq_reqlen, ptlrpc_rqphase2str(req), diff --git a/lustre/ptlrpc/niobuf.c b/lustre/ptlrpc/niobuf.c index d52527c..7c60299 100644 --- a/lustre/ptlrpc/niobuf.c +++ b/lustre/ptlrpc/niobuf.c @@ -265,7 +265,7 @@ int ptlrpc_register_bulk(struct ptlrpc_request *req) RETURN (-ENOMEM); } - CDEBUG(D_NET, "Setup bulk %s buffers: %u pages %u bytes, xid "LPX64", " + CDEBUG(D_NET, "Setup bulk %s buffers: %u pages %u bytes, xid "LPU64", " "portal %u\n", desc->bd_type == BULK_GET_SOURCE ? "get-source" : "put-sink", desc->bd_iov_count, desc->bd_nob, diff --git a/lustre/ptlrpc/pack_generic.c b/lustre/ptlrpc/pack_generic.c index 51e109b..4e7f68e 100644 --- a/lustre/ptlrpc/pack_generic.c +++ b/lustre/ptlrpc/pack_generic.c @@ -2244,7 +2244,7 @@ void _debug_req(struct ptlrpc_request *req, __u32 mask, va_start(args, fmt); libcfs_debug_vmsg2(data->msg_cdls, data->msg_subsys, mask, data->msg_file, data->msg_fn, data->msg_line, fmt, args, - " req@%p x"LPD64"/t"LPD64"("LPD64") o%d->%s@%s:%d/%d" + " req@%p x"LPU64"/t"LPD64"("LPD64") o%d->%s@%s:%d/%d" " lens %d/%d e %d to %d dl "CFS_TIME_T" ref %d " "fl "REQ_FLAGS_FMT"/%x/%x rc %d/%d\n", req, req->rq_xid, req->rq_transno, diff --git a/lustre/ptlrpc/recover.c b/lustre/ptlrpc/recover.c index 7f27502..1ca69ff 100644 --- a/lustre/ptlrpc/recover.c +++ b/lustre/ptlrpc/recover.c @@ -133,7 +133,7 @@ int ptlrpc_replay_next(struct obd_import *imp, int *inflight) rc = ptlrpc_replay_req(req); if (rc) { CERROR("recovery replay error %d for req " - LPD64"\n", rc, req->rq_xid); + LPU64"\n", rc, req->rq_xid); RETURN(rc); } *inflight = 1; diff --git a/lustre/ptlrpc/service.c b/lustre/ptlrpc/service.c index d28db7b..2199fc1 100644 --- a/lustre/ptlrpc/service.c +++ b/lustre/ptlrpc/service.c @@ -1377,7 +1377,7 @@ ptlrpc_server_handle_req_in(struct ptlrpc_service *svc) break; } - CDEBUG(D_NET, "got req "LPD64"\n", req->rq_xid); + CDEBUG(D_NET, "got req "LPU64"\n", req->rq_xid); req->rq_export = class_conn2export( lustre_msg_get_handle(req->rq_reqmsg));