skiplists - locks are now added to the front of the granted
queue.
+Severity : normal
+Bugzilla : 14477
+Description: Hit ASSERTION(obd->obd_stopping == 1) failed in some setup failed
+ situation.
+Details : In obd setup failure handler, obd_stopping will not necessarily to
+ be 1, and obd_set_up should also be checked to make sure whether
+ obd is completely setup.
+
--------------------------------------------------------------------------------
2007-12-07 Cluster File Systems, Inc. <info@clusterfs.com>
obd->obd_llog_ctxt[ctxt->loc_idx] = NULL;
spin_unlock(&obd->obd_dev_lock);
- LASSERT(obd->obd_stopping == 1);
+ LASSERT(obd->obd_stopping == 1 || obd->obd_set_up == 0);
/* cleanup the llog ctxt here */
if (CTXTP(ctxt, cleanup))
rc = CTXTP(ctxt, cleanup)(ctxt);
/* sync with other llog ctxt user thread */
spin_lock(&obd->obd_dev_lock);
- LASSERT(obd->obd_stopping == 1);
+ LASSERT(obd->obd_stopping == 1 || obd->obd_set_up == 0);
spin_unlock(&obd->obd_dev_lock);
idx = ctxt->loc_idx;