X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fost%2Fost_handler.c;h=f8c131741760ed0532bf5020a62f6cd7a17b0bb7;hb=00102f342959b094f035b618c0b7acf477de35b4;hp=6ddc5638f9884dd53031e6a62e189267f2e756ec;hpb=748650f164a499d4e4e06a1271aee8b4c4323518;p=fs%2Flustre-release.git diff --git a/lustre/ost/ost_handler.c b/lustre/ost/ost_handler.c index 6ddc563..f8c1317 100644 --- a/lustre/ost/ost_handler.c +++ b/lustre/ost/ost_handler.c @@ -19,7 +19,6 @@ * */ - #define EXPORT_SYMTAB #include @@ -30,6 +29,9 @@ #include #include #include + +#define DEBUG_SUBSYSTEM S_OST + #include #include #include @@ -55,7 +57,7 @@ static int ost_queue_req(struct obd_device *obddev, struct ptlrpc_request *req) return -ENOMEM; } - CDEBUG(D_OST, "---> OST at %d %p, incoming req %p, srv_req %p\n", + CDEBUG(0, "---> OST at %d %p, incoming req %p, srv_req %p\n", __LINE__, ost, req, srv_req); memset(srv_req, 0, sizeof(*req)); @@ -252,7 +254,7 @@ static int ost_connect(struct ost_obd *ost, struct ptlrpc_request *req) req->rq_rep.ost->result =ost->ost_tgt->obd_type->typ_ops->o_connect(&conn); - CDEBUG(D_OST, "ost_connect: rep buffer %p, id %d\n", req->rq_repbuf, + CDEBUG(0, "ost_connect: rep buffer %p, id %d\n", req->rq_repbuf, conn.oc_id); req->rq_rep.ost->connid = conn.oc_id; EXIT; @@ -397,7 +399,7 @@ int ost_handle(struct obd_device *obddev, struct ptlrpc_request *req) struct ptlreq_hdr *hdr; ENTRY; - CDEBUG(D_OST, "req at %p\n", req); + CDEBUG(0, "req at %p\n", req); hdr = (struct ptlreq_hdr *)req->rq_reqbuf; if (NTOH__u32(hdr->type) != OST_TYPE_REQ) {