From bb3f8a51588fd03e00f999991808b9dd1f72b421 Mon Sep 17 00:00:00 2001 From: pschwan Date: Mon, 19 May 2003 03:15:06 +0000 Subject: [PATCH] land b_proto on b_devel: - major rework of the rpc and bulk APIs, lots of new assertions and cleanups - many rpc and bulk bugfixes, including bugs 937, 1057, 1072, 1162 - perform brw and getattr operations to multiple OSTs in parallel - all bulks are tied to exactly one request; multiple requests can be tied to a single request_set --- lustre/cobd/cache_obd.c | 5 ++--- lustre/obdclass/debug.c | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lustre/cobd/cache_obd.c b/lustre/cobd/cache_obd.c index 1cd970c..c96b2ad 100644 --- a/lustre/cobd/cache_obd.c +++ b/lustre/cobd/cache_obd.c @@ -254,8 +254,7 @@ static int cobd_commitrw(int cmd, struct obd_export *exp, static inline int cobd_brw(int cmd, struct lustre_handle *conn, struct lov_stripe_md *lsm, obd_count oa_bufs, - struct brw_page *pga, struct obd_brw_set *set, - struct obd_trans_info *oti) + struct brw_page *pga, struct obd_trans_info *oti) { struct obd_device *obd = class_conn2obd(conn); struct cache_obd *cobd; @@ -270,7 +269,7 @@ cobd_brw(int cmd, struct lustre_handle *conn, cobd = &obd->u.cobd; return (obd_brw (cmd, &cobd->cobd_target, - lsm, oa_bufs, pga, set, oti)); + lsm, oa_bufs, pga, oti)); } static int diff --git a/lustre/obdclass/debug.c b/lustre/obdclass/debug.c index de7a0c4..0650329 100644 --- a/lustre/obdclass/debug.c +++ b/lustre/obdclass/debug.c @@ -43,8 +43,8 @@ int dump_ioo(struct obd_ioobj *ioo) int dump_lniobuf(struct niobuf_local *nb) { - CERROR("niobuf_local: addr=%p, offset="LPU64", len=%d, xid=%d, " - "page=%p\n", nb->addr, nb->offset, nb->len, nb->xid, nb->page); + CERROR("niobuf_local: offset="LPD64", len=%d, xid=%d, page=%p\n", + nb->offset, nb->len, nb->xid, nb->page); CERROR("nb->page: index = %ld\n", nb->page ? nb->page->index : -1); return -EINVAL; -- 1.8.3.1