[Ocfs2-commits] zab commits r2116 - trunk/fs/ocfs2/cluster
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Tue Apr 5 18:06:19 CDT 2005
Author: zab
Signed-off-by: mfasheh
Date: 2005-04-05 18:06:17 -0500 (Tue, 05 Apr 2005)
New Revision: 2116
Modified:
trunk/fs/ocfs2/cluster/heartbeat.c
Log:
o _range is only available in very recent kernels and we really don't care
about cached /dev access that much. oh well.
Signed-off-by: mfasheh
Modified: trunk/fs/ocfs2/cluster/heartbeat.c
===================================================================
--- trunk/fs/ocfs2/cluster/heartbeat.c 2005-04-05 22:39:59 UTC (rev 2115)
+++ trunk/fs/ocfs2/cluster/heartbeat.c 2005-04-05 23:06:17 UTC (rev 2116)
@@ -369,18 +369,6 @@
goto bail;
}
- /* before we do anything lets blow away the page cache
- * for the hb region so that userspace can at least
- * read bh-cached /dev/ w/o surprises while the
- * thread is running */
- truncate_inode_pages_range(reg->hr_bdev->bd_inode->i_mapping,
- (reg->hr_fs_start_block <<
- reg->hr_fs_block_bits) &
- PAGE_CACHE_MASK,
- PAGE_ALIGN((reg->hr_fs_start_block +
- reg->hr_fs_blocks) <<
- reg->hr_fs_block_bits) - 1);
-
/* We 1st do a sync read of all slots */
bio_get(read_bio);
submit_bio(READ, read_bio);
More information about the Ocfs2-commits
mailing list