Whamcloud - gitweb
don't hit live lock with umount ost.
authorshadow <shadow>
Fri, 9 May 2008 09:55:21 +0000 (09:55 +0000)
committershadow <shadow>
Fri, 9 May 2008 09:55:21 +0000 (09:55 +0000)
b=14645
i=johan
i=alex

lustre/ChangeLog
lustre/obdfilter/filter.c

index 18a9c49..c16f5ac 100644 (file)
@@ -13,6 +13,13 @@ tbd  Sun Microsystems, Inc.
         removed cwd "./" (refer to Bugzilla 14399).
 
 Severity   : minor
+Bugzilla   : 14645
+Frequency  : rare, on shutdown ost
+Description: don't hit live lock with umount ost.
+Description: shrink_dcache_parent can be in long loop with destroy dentries,
+            use shrink_dcache_sb instead.
+
+Severity   : minor
 Bugzilla   : 14949
 Description: don't panic with use echo client
 Details    : echo client pass NULL as client nid pointer and this produce null
index 583390d..bcec97d 100644 (file)
@@ -2408,9 +2408,8 @@ static int filter_cleanup(struct obd_device *obd)
 
         filter_post(obd);
 
-        shrink_dcache_parent(obd->u.obt.obt_sb->s_root);
-
         LL_DQUOT_OFF(obd->u.obt.obt_sb);
+        shrink_dcache_sb(obd->u.obt.obt_sb);
 
         server_put_mount(obd->obd_name, filter->fo_vfsmnt);
         obd->u.obt.obt_sb = NULL;