Whamcloud - gitweb
Branch b1_6
authorjohann <johann>
Mon, 2 Jul 2007 18:48:31 +0000 (18:48 +0000)
committerjohann <johann>
Mon, 2 Jul 2007 18:48:31 +0000 (18:48 +0000)
Severity   : normal
Frequency  : rare
Bugzilla   : 12629
Description: Deadlock during metadata tests
Details    : in prune_dir_dentries(), shrink_dcache_parent() should not be
             called with the per-dentry lock held.
b=12629
i=alex
i=shadow

lustre/ChangeLog
lustre/llite/llite_lib.c

index a2e8ec7..f8c0ec6 100644 (file)
@@ -15,6 +15,13 @@ tbd         Cluster File Systems, Inc. <info@clusterfs.com>
        * bug fixes
 
 Severity   : normal
+Frequency  : rare
+Bugzilla   : 12629
+Description: Deadlock during metadata tests
+Details    : in prune_dir_dentries(), shrink_dcache_parent() should not be
+             called with the per-dentry lock held.
+
+Severity   : normal
 Frequency  : SLES9 only
 Bugzilla   : 12744
 Description: Lustre patched kernel for SLES9 SP3 has NR_CPUS set to 8
index b0b7c43..0fefc5e 100644 (file)
@@ -482,9 +482,7 @@ restart:
                         spin_unlock(&dcache_lock);
 
                         /* try to kill all child dentries */
-                        lock_dentry(dentry);
                         shrink_dcache_parent(dentry);
-                        unlock_dentry(dentry);
                         dput(dentry);
 
                         /* now try to get rid of current dentry */