All of lore.kernel.org
 help / color / mirror / Atom feed
* device-mapper ./WHATS_NEW lib/libdm-deptree.c
@ 2008-06-05 19:10 agk
  0 siblings, 0 replies; 5+ messages in thread
From: agk @ 2008-06-05 19:10 UTC (permalink / raw)
  To: dm-cvs, dm-devel

CVSROOT:	/cvs/dm
Module name:	device-mapper
Changes by:	agk@sourceware.org	2008-06-05 19:10:35

Modified files:
	.              : WHATS_NEW 
	lib            : libdm-deptree.c 

Log message:
	Initialise params buffer to empty string in _emit_segment.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/WHATS_NEW.diff?cvsroot=dm&r1=1.232&r2=1.233
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/libdm-deptree.c.diff?cvsroot=dm&r1=1.37&r2=1.38

--- device-mapper/WHATS_NEW	2008/05/21 16:14:44	1.232
+++ device-mapper/WHATS_NEW	2008/06/05 19:10:35	1.233
@@ -1,5 +1,6 @@
 Version 1.02.26 - 
 =================================
+  Initialise params buffer to empty string in _emit_segment.
   Skip add_dev_node when ioctls disabled.
   Make dm_hash_iter safe against deletion.
   Accept a NULL pointer to dm_free silently.
--- device-mapper/lib/libdm-deptree.c	2008/01/15 22:48:11	1.37
+++ device-mapper/lib/libdm-deptree.c	2008/06/05 19:10:35	1.38
@@ -1276,7 +1276,6 @@
 	switch(seg->type) {
 	case SEG_ERROR:
 	case SEG_ZERO:
-		params[0] = '\0';
 	case SEG_LINEAR:
 		break;
 	case SEG_MIRRORED:
@@ -1434,6 +1433,7 @@
 			return 0;
 		}
 
+		params[0] = '\0';
 		ret = _emit_segment_line(dmt, seg, seg_start, params, paramsize);
 		dm_free(params);
 

^ permalink raw reply	[flat|nested] 5+ messages in thread
* device-mapper ./WHATS_NEW lib/libdm-deptree.c
@ 2008-06-10 11:19 agk
  0 siblings, 0 replies; 5+ messages in thread
From: agk @ 2008-06-10 11:19 UTC (permalink / raw)
  To: dm-cvs, dm-devel

CVSROOT:	/cvs/dm
Module name:	device-mapper
Changes by:	agk@sourceware.org	2008-06-10 11:19:19

Modified files:
	.              : WHATS_NEW 
	lib            : libdm-deptree.c 

Log message:
	Fix inverted no_flush debug message. (mpatocka)

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/WHATS_NEW.diff?cvsroot=dm&r1=1.240&r2=1.241
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/libdm-deptree.c.diff?cvsroot=dm&r1=1.38&r2=1.39

--- device-mapper/WHATS_NEW	2008/06/08 14:53:51	1.240
+++ device-mapper/WHATS_NEW	2008/06/10 11:19:18	1.241
@@ -1,5 +1,6 @@
 Version 1.02.27 -
 ===============================
+  Fix inverted no_flush debug message.
   Remove --enable-jobs from configure. (Set at runtime instead.)
   Bring configure.in and list.h into line with the lvm2 versions.
 
--- device-mapper/lib/libdm-deptree.c	2008/06/05 19:10:35	1.38
+++ device-mapper/lib/libdm-deptree.c	2008/06/10 11:19:19	1.39
@@ -937,7 +937,7 @@
 	log_verbose("Suspending %s (%" PRIu32 ":%" PRIu32 ")%s%s",
 		    name, major, minor,
 		    skip_lockfs ? "" : " with filesystem sync",
-		    no_flush ? "" : " without device flush");
+		    no_flush ? " without device flush" : "");
 
 	if (!(dmt = dm_task_create(DM_DEVICE_SUSPEND))) {
 		log_error("Suspend dm_task creation failed for %s", name);

^ permalink raw reply	[flat|nested] 5+ messages in thread
* device-mapper ./WHATS_NEW lib/libdm-deptree.c
@ 2008-01-15 22:48 jbrassow
  0 siblings, 0 replies; 5+ messages in thread
From: jbrassow @ 2008-01-15 22:48 UTC (permalink / raw)
  To: dm-cvs, dm-devel

CVSROOT:	/cvs/dm
Module name:	device-mapper
Changes by:	jbrassow@sourceware.org	2008-01-15 22:48:11

Modified files:
	.              : WHATS_NEW 
	lib            : libdm-deptree.c 

Log message:
	- The automatic log module loading patch proposed for the upstream kernel
	works on '-'s, not '_'s.  This is due to the preference to have log
	module file names that do not mix '_'s and '-'s.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/WHATS_NEW.diff?cvsroot=dm&r1=1.222&r2=1.223
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/libdm-deptree.c.diff?cvsroot=dm&r1=1.36&r2=1.37

--- device-mapper/WHATS_NEW	2007/12/20 15:16:14	1.222
+++ device-mapper/WHATS_NEW	2008/01/15 22:48:11	1.223
@@ -1,5 +1,6 @@
 Version 1.02.25 - 
 ====================================
+  Change cluster mirror log type name (s/clustered_/clustered-/)
 
 Version 1.02.24 - 20th December 2007
 ====================================
--- device-mapper/lib/libdm-deptree.c	2007/12/14 19:49:27	1.36
+++ device-mapper/lib/libdm-deptree.c	2008/01/15 22:48:11	1.37
@@ -1289,7 +1289,7 @@
 		if (seg->clustered) {
 			if (seg->uuid)
 				log_parm_count++;
-			if ((tw = _dm_snprintf(params + pos, paramsize - pos, "clustered_")) < 0) {
+			if ((tw = _dm_snprintf(params + pos, paramsize - pos, "clustered-")) < 0) {
                         	stack;	/* Out of space */
                         	return -1;
                 	}

^ permalink raw reply	[flat|nested] 5+ messages in thread
* device-mapper ./WHATS_NEW lib/libdm-deptree.c
@ 2007-12-14 17:57 agk
  0 siblings, 0 replies; 5+ messages in thread
From: agk @ 2007-12-14 17:57 UTC (permalink / raw)
  To: dm-cvs, dm-devel

CVSROOT:	/cvs/dm
Module name:	device-mapper
Changes by:	agk@sourceware.org	2007-12-14 17:57:05

Modified files:
	.              : WHATS_NEW 
	lib            : libdm-deptree.c 

Log message:
	Fix deptree to pass new name to _resume_node after a rename.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/WHATS_NEW.diff?cvsroot=dm&r1=1.218&r2=1.219
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/libdm-deptree.c.diff?cvsroot=dm&r1=1.34&r2=1.35

--- device-mapper/WHATS_NEW	2007/12/14 17:26:08	1.218
+++ device-mapper/WHATS_NEW	2007/12/14 17:57:04	1.219
@@ -1,5 +1,6 @@
 Version 1.02.24 -
 ===================================
+  Fix deptree to pass new name to _resume_node after a rename.
   Add node operation stack debug messages.
   Report error when empty device name passed to readahead functions.
   Fix minimum readahead debug message.
--- device-mapper/lib/libdm-deptree.c	2007/12/03 22:48:35	1.34
+++ device-mapper/lib/libdm-deptree.c	2007/12/14 17:57:04	1.35
@@ -1160,11 +1160,11 @@
 			if (!child->info.inactive_table && !child->info.suspended)
 				continue;
 
-			if (!_resume_node(name, child->info.major, child->info.minor,
+			if (!_resume_node(child->name, child->info.major, child->info.minor,
 					  child->props.read_ahead,
 					  child->props.read_ahead_flags, &newinfo)) {
 				log_error("Unable to resume %s (%" PRIu32
-					  ":%" PRIu32 ")", name, child->info.major,
+					  ":%" PRIu32 ")", child->name, child->info.major,
 					  child->info.minor);
 				continue;
 			}

^ permalink raw reply	[flat|nested] 5+ messages in thread
* device-mapper ./WHATS_NEW lib/libdm-deptree.c
@ 2006-10-13 14:03 agk
  0 siblings, 0 replies; 5+ messages in thread
From: agk @ 2006-10-13 14:03 UTC (permalink / raw)
  To: dm-cvs, dm-devel

CVSROOT:	/cvs/dm
Module name:	device-mapper
Changes by:	agk@sourceware.org	2006-10-13 14:03:35

Modified files:
	.              : WHATS_NEW 
	lib            : libdm-deptree.c 

Log message:
	Avoid deptree attempting to suspend a device that's already suspended.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/WHATS_NEW.diff?cvsroot=dm&r1=1.129&r2=1.130
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/libdm-deptree.c.diff?cvsroot=dm&r1=1.28&r2=1.29

--- device-mapper/WHATS_NEW	2006/10/12 17:45:11	1.129
+++ device-mapper/WHATS_NEW	2006/10/13 14:03:33	1.130
@@ -1,5 +1,6 @@
 Version 1.02.12 -
 ==============================
+  Avoid deptree attempting to suspend a device that's already suspended.
 
 Version 1.02.11 -  12 Oct 2006
 ==============================
--- device-mapper/lib/libdm-deptree.c	2006/05/16 16:20:29	1.28
+++ device-mapper/lib/libdm-deptree.c	2006/10/13 14:03:35	1.29
@@ -1028,7 +1028,7 @@
 			continue;
 
 		if (!_info_by_dev(dinfo->major, dinfo->minor, 0, &info) ||
-		    !info.exists)
+		    !info.exists || info.suspended)
 			continue;
 
 		if (!_suspend_node(name, info.major, info.minor,

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-06-10 11:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-05 19:10 device-mapper ./WHATS_NEW lib/libdm-deptree.c agk
  -- strict thread matches above, loose matches on Subject: below --
2008-06-10 11:19 agk
2008-01-15 22:48 jbrassow
2007-12-14 17:57 agk
2006-10-13 14:03 agk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.