This is the mail archive of the lvm2-cvs@sourceware.org mailing list for the LVM2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

LVM2 ./WHATS_NEW daemons/clvmd/lvm-functions.c ...


CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac@sourceware.org	2011-02-03 01:58:21

Modified files:
	.              : WHATS_NEW 
	daemons/clvmd  : lvm-functions.c 
	lib/activate   : activate.c 

Log message:
	Remove fs_unlock from lv_resume path
	
	Keep it within clvmd until message for SYNC starts to work.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1900&r2=1.1901
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/clvmd/lvm-functions.c.diff?cvsroot=lvm2&r1=1.107&r2=1.108
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/activate/activate.c.diff?cvsroot=lvm2&r1=1.188&r2=1.189

--- LVM2/WHATS_NEW	2011/02/03 01:41:03	1.1900
+++ LVM2/WHATS_NEW	2011/02/03 01:58:20	1.1901
@@ -1,5 +1,6 @@
 Version 2.02.83 - 
 ===================================
+  Remove fs_unlock() from lv_resume path.
   Fix wipe size when setting up mda.
   Remove unneeded checks for open_count in lv_info().
   Synchronize with udev before checking open_count in lv_info().
--- LVM2/daemons/clvmd/lvm-functions.c	2011/02/02 20:04:39	1.107
+++ LVM2/daemons/clvmd/lvm-functions.c	2011/02/03 01:58:20	1.108
@@ -517,6 +517,7 @@
 	case LCK_UNLOCK:
 	case LCK_LV_RESUME:	/* if active */
 		status = do_resume_lv(resource, lock_flags);
+		fs_unlock();
 		break;
 
 	case LCK_LV_ACTIVATE:
--- LVM2/lib/activate/activate.c	2011/02/03 01:24:46	1.188
+++ LVM2/lib/activate/activate.c	2011/02/03 01:58:21	1.189
@@ -1124,7 +1124,6 @@
 		goto_out;
 
 	memlock_dec(cmd);
-	fs_unlock();
 
 	if (!monitor_dev_for_events(cmd, lv, origin_only, 1))
 		stack;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]