[Ocfs2-commits] mfasheh commits r1769 - trunk/src
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Thu Jan 13 19:02:21 CST 2005
Author: mfasheh
Date: 2005-01-13 19:02:20 -0600 (Thu, 13 Jan 2005)
New Revision: 1769
Modified:
trunk/src/dlmglue.c
Log:
* use lvbs for bitmap files now too
Modified: trunk/src/dlmglue.c
===================================================================
--- trunk/src/dlmglue.c 2005-01-14 01:00:46 UTC (rev 1768)
+++ trunk/src/dlmglue.c 2005-01-14 01:02:20 UTC (rev 1769)
@@ -1278,10 +1278,7 @@
goto bail;
}
- /* we don't want to use the LVB for bitmap files as the
- * used/set bit union is not currently sent over the wire. */
- if (!(OCFS_I(inode)->ip_flags & OCFS_INODE_BITMAP) &&
- ocfs2_lvb_is_trustable(lockres)) {
+ if (ocfs2_lvb_is_trustable(lockres)) {
/* yay, fastpath! */
ocfs2_meta_lvb_get_trunc_clusters(lockres,
&trustable_clusters);
@@ -1312,6 +1309,8 @@
dprintk("inode %llu, I can only trust %u clusters\n",
OCFS_I(inode)->ip_blkno, trustable_clusters);
+ /* will do nothing for inode types that don't use the extent
+ * map (directories, bitmap files, etc) */
ocfs2_extent_map_trunc(inode, trustable_clusters);
ocfs2_set_local_seq_from_lvb(lockres);
More information about the Ocfs2-commits
mailing list