*
*/
-
#define EXPORT_SYMTAB
#include <linux/version.h>
#include <linux/ext2_fs.h>
#include <linux/quotaops.h>
#include <asm/unistd.h>
+
+#define DEBUG_SUBSYSTEM S_OST
+
#include <linux/obd_support.h>
#include <linux/obd.h>
#include <linux/obd_class.h>
return -ENOMEM;
}
- printk("---> 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));
int rc;
ENTRY;
- printk("ost getattr entered\n");
conn.oc_id = req->rq_req.ost->connid;
conn.oc_dev = ost->ost_tgt;
req->rq_rep.ost->result =ost->ost_tgt->obd_type->typ_ops->o_connect(&conn);
- printk("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;
struct ptlreq_hdr *hdr;
ENTRY;
- printk("ost_handle: 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) {
OBD_ALLOC(ost->ost_service, sizeof(*ost->ost_service));
if (ost->ost_service == NULL)
return -ENOMEM;
- ost->ost_service->srv_buf_size = 4 * 1024;
+ ost->ost_service->srv_buf_size = 64 * 1024;
ost->ost_service->srv_portal = OST_REQUEST_PORTAL;
memcpy(&ost->ost_service->srv_self, &peer, sizeof(peer));
ost->ost_service->srv_wait_queue = &ost->ost_waitq;