[Ocfs2-commits] zab commits r1755 - trunk/cluster

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Jan 11 17:35:18 CST 2005


Author: zab
Date: 2005-01-11 17:35:16 -0600 (Tue, 11 Jan 2005)
New Revision: 1755

Modified:
   trunk/cluster/dlm_compat.h
   trunk/cluster/heartbeat.c
Log:
o be sure to unplug after issuing heartbeat bhs


Modified: trunk/cluster/dlm_compat.h
===================================================================
--- trunk/cluster/dlm_compat.h	2005-01-11 22:36:18 UTC (rev 1754)
+++ trunk/cluster/dlm_compat.h	2005-01-11 23:35:16 UTC (rev 1755)
@@ -123,6 +123,8 @@
 	return blksize_bits(block_size(dev));
 }
 
+#define blk_run_address_space(throwaway) run_task_queue(&tq_disk)
+
 #else  /* LINUX_VERSION_CODE < 2.6 */
 
 static inline int ocfs_dev_bits(dev_t dev)

Modified: trunk/cluster/heartbeat.c
===================================================================
--- trunk/cluster/heartbeat.c	2005-01-11 22:36:18 UTC (rev 1754)
+++ trunk/cluster/heartbeat.c	2005-01-11 23:35:16 UTC (rev 1755)
@@ -166,6 +166,7 @@
 	       buffer_mapped(bh) ? "yes" : "no");
 #endif
 	submit_bh(rw, bh);
+	blk_run_address_space(bh->b_bdev->bd_inode->i_mapping);
 }
 
 /* 



More information about the Ocfs2-commits mailing list