Add a few more printfs, print the symbolic command name where available.

Signed-off-by: Christoph Hellwig <hch@lst.de>

---
 sheep/group.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Index: sheepdog/sheep/group.c
===================================================================
--- sheepdog.orig/sheep/group.c	2012-07-13 11:34:11.339924363 +0200
+++ sheepdog/sheep/group.c	2012-07-13 11:35:17.319923962 +0200
@@ -287,6 +287,8 @@ static void cluster_op_done(struct work
 
 	cluster_op_running = false;
 
+	eprintf("%s (%p)\n", op_name(req->op), req);
+
 	msg = prepare_cluster_msg(req, &size);
 	if (!msg)
 		panic();
@@ -848,7 +850,8 @@ void sd_notify_handler(struct sd_node *s
 	int ret = msg->rsp.result;
 	struct request *req = NULL;
 
-	dprintf("size: %zd, from: %s\n", data_len, node_to_str(sender));
+	dprintf("op %s, size: %zd, from: %s\n",
+		op_name(op), data_len, node_to_str(sender));
 
 	if (is_myself(sender->nid.addr, sender->nid.port)) {
 		req = list_first_entry(&sys->pending_list, struct request,


