staging: lustre: remove LPX64 define
[deliverable/linux.git] / drivers / staging / lustre / lustre / ptlrpc / import.c
index 5cadb94ddc61c49d4ed693cc4ea7746f666cc001..f522fc5d3a93fb8868fb41a4b929f8fc654b3dbd 100644 (file)
@@ -494,7 +494,7 @@ static int import_select_connection(struct obd_import *imp)
        }
 
        list_for_each_entry(conn, &imp->imp_conn_list, oic_item) {
-               CDEBUG(D_HA, "%s: connect to NID %s last attempt "LPU64"\n",
+               CDEBUG(D_HA, "%s: connect to NID %s last attempt %llu\n",
                       imp->imp_obd->obd_name,
                       libcfs_nid2str(conn->oic_conn->c_peer.nid),
                       conn->oic_last_attempt);
@@ -842,8 +842,7 @@ static int ptlrpc_connect_interpret(const struct lu_env *env,
        /* check that server granted subset of flags we asked for. */
        if ((ocd->ocd_connect_flags & imp->imp_connect_flags_orig) !=
            ocd->ocd_connect_flags) {
-               CERROR("%s: Server didn't granted asked subset of flags: "
-                      "asked="LPX64" grranted="LPX64"\n",
+               CERROR("%s: Server didn't granted asked subset of flags: asked=%#llx grranted=%#llx\n",
                       imp->imp_obd->obd_name,imp->imp_connect_flags_orig,
                       ocd->ocd_connect_flags);
                GOTO(out, rc = -EPROTO);
@@ -901,8 +900,7 @@ static int ptlrpc_connect_interpret(const struct lu_env *env,
                memset(&old_hdl, 0, sizeof(old_hdl));
                if (!memcmp(&old_hdl, lustre_msg_get_handle(request->rq_repmsg),
                            sizeof(old_hdl))) {
-                       LCONSOLE_WARN("Reconnect to %s (at @%s) failed due "
-                                     "bad handle "LPX64"\n",
+                       LCONSOLE_WARN("Reconnect to %s (at @%s) failed due bad handle %#llx\n",
                                      obd2cli_tgt(imp->imp_obd),
                                      imp->imp_connection->c_remote_uuid.uuid,
                                      imp->imp_dlm_handle.cookie);
@@ -923,9 +921,7 @@ static int ptlrpc_connect_interpret(const struct lu_env *env,
                         * participate since we can reestablish all of our state
                         * with server again */
                        if ((MSG_CONNECT_RECOVERING & msg_flags)) {
-                               CDEBUG(level,"%s@%s changed server handle from "
-                                      LPX64" to "LPX64
-                                      " but is still in recovery\n",
+                               CDEBUG(level,"%s@%s changed server handle from %#llx to %#llx but is still in recovery\n",
                                       obd2cli_tgt(imp->imp_obd),
                                       imp->imp_connection->c_remote_uuid.uuid,
                                       imp->imp_remote_handle.cookie,
@@ -933,8 +929,7 @@ static int ptlrpc_connect_interpret(const struct lu_env *env,
                                       request->rq_repmsg)->cookie);
                        } else {
                                LCONSOLE_WARN("Evicted from %s (at %s) "
-                                             "after server handle changed from "
-                                             LPX64" to "LPX64"\n",
+                                             "after server handle changed from %#llx to %#llx\n",
                                              obd2cli_tgt(imp->imp_obd),
                                              imp->imp_connection-> \
                                              c_remote_uuid.uuid,
@@ -998,8 +993,8 @@ static int ptlrpc_connect_interpret(const struct lu_env *env,
        if (lustre_msg_get_last_committed(request->rq_repmsg) > 0 &&
            lustre_msg_get_last_committed(request->rq_repmsg) <
            aa->pcaa_peer_committed) {
-               CERROR("%s went back in time (transno "LPD64
-                      " was previously committed, server now claims "LPD64
+               CERROR("%s went back in time (transno %lld"
+                      " was previously committed, server now claims %lld"
                       ")!  See https://bugzilla.lustre.org/show_bug.cgi?"
                       "id=9646\n",
                       obd2cli_tgt(imp->imp_obd), aa->pcaa_peer_committed,
@@ -1117,9 +1112,8 @@ finish:
                 * disable lru_resize, etc. */
                if (old_connect_flags != exp_connect_flags(exp) ||
                    aa->pcaa_initial_connect) {
-                       CDEBUG(D_HA, "%s: Resetting ns_connect_flags to server "
-                              "flags: "LPX64"\n", imp->imp_obd->obd_name,
-                             ocd->ocd_connect_flags);
+                       CDEBUG(D_HA, "%s: Resetting ns_connect_flags to server flags: %#llx\n",
+                              imp->imp_obd->obd_name, ocd->ocd_connect_flags);
                        imp->imp_obd->obd_namespace->ns_connect_flags =
                                ocd->ocd_connect_flags;
                        imp->imp_obd->obd_namespace->ns_orig_connect_flags =
This page took 0.047545 seconds and 5 git commands to generate.