Commit 6e1a5b40 authored by Philip Carns's avatar Philip Carns
Browse files

bug fix and more printfs

parent c9a39af0
...@@ -114,6 +114,7 @@ static void client_event( ...@@ -114,6 +114,7 @@ static void client_event(
switch (m->event_type) switch (m->event_type)
{ {
case CLIENT_KICKOFF: case CLIENT_KICKOFF:
case CLIENT_OP_COMPLETE:
handle_client_op_loop_event(ns, b, m, lp); handle_client_op_loop_event(ns, b, m, lp);
break; break;
default: default:
...@@ -199,6 +200,7 @@ static void handle_client_op_loop_event( ...@@ -199,6 +200,7 @@ static void handle_client_op_loop_event(
return; return;
break; break;
case CODES_WK_OPEN: case CODES_WK_OPEN:
printf("Client rank %d will issue an open request.\n", ns->my_rank);
dest_svr_id = g_num_clients + op.u.open.file_id % g_num_servers; dest_svr_id = g_num_clients + op.u.open.file_id % g_num_servers;
break; break;
default: default:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment