From 277d98efc3c27191054b4b38cb1fa7208309eaa9 Mon Sep 17 00:00:00 2001 From: adilger Date: Fri, 10 Feb 2006 23:02:26 +0000 Subject: [PATCH] Branch b_release_1_4_6 Fix ost_brw_read() error message to match ost_brw_write() (include obd_name). --- lustre/ost/ost_handler.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lustre/ost/ost_handler.c b/lustre/ost/ost_handler.c index 9756c60..388af22 100644 --- a/lustre/ost/ost_handler.c +++ b/lustre/ost/ost_handler.c @@ -764,7 +764,7 @@ static int ost_brw_read(struct ptlrpc_request *req, struct obd_trans_info *oti) target_committed_to_req(req); ptlrpc_reply(req); } else if (!comms_error) { - /* only reply if comms OK */ + /* Only reply if there was no comms problem with bulk */ target_committed_to_req(req); req->rq_status = rc; ptlrpc_error(req); @@ -775,8 +775,8 @@ static int ost_brw_read(struct ptlrpc_request *req, struct obd_trans_info *oti) req->rq_reply_state = NULL; } if (req->rq_reqmsg->conn_cnt == req->rq_export->exp_conn_cnt) { - CERROR("bulk IO comms error: " - "evicting %s@%s id %s\n", + CERROR("%s: bulk IO comm error evicting %s@%s id %s\n", + req->rq_export->exp_obd->obd_name, req->rq_export->exp_client_uuid.uuid, req->rq_export->exp_connection->c_remote_uuid.uuid, libcfs_id2str(req->rq_peer)); -- 1.8.3.1