[Ocfs2-commits] khackel commits r1208 - trunk/src
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Wed Jun 23 21:28:39 CDT 2004
Author: khackel
Date: 2004-06-23 20:28:37 -0500 (Wed, 23 Jun 2004)
New Revision: 1208
Modified:
trunk/src/dlm.c
Log:
take out the behavior when breaking cache locks of invalidating all of a parent directory's child inodes
this is most likely totally inappropriate now that inodes are not part of a greater directory block
it's also so slow in some cases that your node can time out and be killed ;-)
Modified: trunk/src/dlm.c
===================================================================
--- trunk/src/dlm.c 2004-06-24 01:25:44 UTC (rev 1207)
+++ trunk/src/dlm.c 2004-06-24 01:28:37 UTC (rev 1208)
@@ -1226,10 +1226,13 @@
if (inode==NULL)
return 0;
+#warning invalidating child inodes is probably inappropriate now
+#if 0
list_for_each(iter, &(inode->i_dentry)) {
dentry = list_entry (iter, struct dentry, d_alias);
ocfs_foreach_child (dentry, ocfs_zap_child_buffers_func, osb);
}
+#endif
ocfs_inc_inode_seq(osb, inode, 0);
return 0;
}
More information about the Ocfs2-commits
mailing list