[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/cmirror-kernel/src dm-cmirror-server.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4U4
Changes by:	jbrassow sourceware org	2006-07-19 14:38:20

Modified files:
	cmirror-kernel/src: dm-cmirror-server.c 

Log message:
	- Fix for:
	198563 – clvmd panic in dm_mod:resize_pool while ...
	198659 – slab error in kmem_cache_destroy() on m ...
	
	The log server was not informing the device-mapper core of its
	intentions to use its I/O interfaces.  This caused device-mapper
	to prematurely release the resources.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cmirror-kernel/src/dm-cmirror-server.c.diff?cvsroot=cluster&only_with_tag=RHEL4U4&r1=1.1.2.9.2.3&r2=1.1.2.9.2.4

--- cluster/cmirror-kernel/src/Attic/dm-cmirror-server.c	2006/06/29 19:46:37	1.1.2.9.2.3
+++ cluster/cmirror-kernel/src/Attic/dm-cmirror-server.c	2006/07/19 14:38:20	1.1.2.9.2.4
@@ -1058,6 +1058,7 @@
 		DMWARN("Cluster mirror log server thread failed to start");
 		return -1;
 	}
+	dm_io_get(32);
 	return 0;
 }
 
@@ -1066,6 +1067,7 @@
 	atomic_set(&server_run, 0);
 
 	wait_for_completion(&server_completion);
+	dm_io_put(32);
 }
 /*
  * Overrides for Emacs so that we follow Linus's tabbing style.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]