Thread (22 messages) 22 messages, 2 authors, 2013-07-31

Re: [PATCH 06/10] monitor: read_and_act: log status when called

From: Martin Wilck <hidden>
Date: 2013-07-31 05:28:23

On 07/31/2013 04:59 AM, NeilBrown wrote:
 	}
quoted
+	
+	gettimeofday(&tv, NULL);
+	fprintf(stderr, "%s(%d): %ld.%06ld state:%s prev:%s action:%s prev: %s start:%llu\n",
+		__func__, a->info.container_member,
+		tv.tv_sec, tv.tv_usec,
+		array_states[a->curr_state],
+		array_states[a->prev_state],
+		sync_actions[a->curr_action],
+		sync_actions[a->prev_action],
+		a->info.resync_start
+		);
I hope this was meant to be "dprintf" ???

I've made that change.
OOps sorry. That was part of a (failed) attempt of mine to print ONLY
this message. I forgot to undo it later.

Thanks a lot for spotting it.

Martin

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help