[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: 	STABLE
Changes by:	jbrassow sourceware org	2006-07-19 14:40:15

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=STABLE&r1=1.1.4.3&r2=1.1.4.4

--- cluster/cmirror-kernel/src/Attic/dm-cmirror-server.c	2006/06/29 19:49:32	1.1.4.3
+++ cluster/cmirror-kernel/src/Attic/dm-cmirror-server.c	2006/07/19 14:40:15	1.1.4.4
@@ -1084,6 +1084,7 @@
 		DMWARN("Cluster mirror log server thread failed to start");
 		return -1;
 	}
+	dm_io_get(32);
 	return 0;
 }
 
@@ -1092,6 +1093,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]