Whamcloud - gitweb
b=20498 print ldlm locks if obd_exports_barrier hangs.
authorAlexander.Zarochentsev <Alexander.Zarochentsev@sun.com>
Thu, 10 Jun 2010 10:35:05 +0000 (14:35 +0400)
committerRobert Read <robert.read@oracle.com>
Thu, 10 Jun 2010 23:32:13 +0000 (16:32 -0700)
i=tappro
i=robert.read

lustre/obdclass/genops.c

index 5012b39..fd038cf 100644 (file)
@@ -1452,7 +1452,7 @@ void obd_exports_barrier(struct obd_device *obd)
                                       "The obd refcount = %d. Is it stuck?\n",
                                       obd->obd_name, waited,
                                       cfs_atomic_read(&obd->obd_refcount));
-                        dump_exports(obd, 0);
+                        dump_exports(obd, 1);
                 }
                 waited *= 2;
                 cfs_spin_lock(&obd->obd_dev_lock);