Permalink
Browse files

ORI-482 osp: debug patch

Signed-off-by: Ned Bass <bass6@llnl.gov>
Change-Id: If1dc6ccf3f1c6525b2b3c54012e6640a99c5024d
  • Loading branch information...
1 parent 0fb0ca0 commit 80b96debcb3d3689dda09d7efae7a1e72ec53d82 @nedbass nedbass committed Jan 20, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 lustre/osp/osp_precreate.c
@@ -279,7 +279,9 @@ static int osp_precreate_send(struct osp_device *d)
GOTO(out_req, rc = -EPROTO);
CDEBUG(D_HA, "new last_created %lu\n", (unsigned long) body->oa.o_id);
- LASSERT(body->oa.o_id > d->opd_pre_next);
+ LASSERTF(body->oa.o_id > d->opd_pre_next,
+ "last %Lu, next %Lu, id %Lu, grow %d\n",
+ d->opd_pre_last_created, body->oa.o_id, grow);
diff = body->oa.o_id - d->opd_pre_last_created;

0 comments on commit 80b96de

Please sign in to comment.