Less debug output
This commit is contained in:
parent
9aa010403a
commit
4d3e666043
2 changed files with 0 additions and 24 deletions
|
@ -874,7 +874,6 @@ assert (conf_acc->acc_length == sizeof(*tcp_conf));
|
||||||
result= NW_OK;
|
result= NW_OK;
|
||||||
break;
|
break;
|
||||||
case NWIOGTCPCOOKIE:
|
case NWIOGTCPCOOKIE:
|
||||||
printf("NWIOGTCPCOOKIE request for fd %d\n", fd);
|
|
||||||
if (!(tcp_fd->tf_flags & TFF_COOKIE))
|
if (!(tcp_fd->tf_flags & TFF_COOKIE))
|
||||||
{
|
{
|
||||||
tcp_fd->tf_cookie.tc_ref= fd;
|
tcp_fd->tf_cookie.tc_ref= fd;
|
||||||
|
|
|
@ -132,11 +132,6 @@ mq_t *m;
|
||||||
int result;
|
int result;
|
||||||
int send_reply, free_mess;
|
int send_reply, free_mess;
|
||||||
|
|
||||||
#if 0
|
|
||||||
if (m->mq_mess.m_source == FS_PROC_NR)
|
|
||||||
printf("sr_rec: got type %d from FS\n", m->mq_mess.m_type);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (repl_queue)
|
if (repl_queue)
|
||||||
{
|
{
|
||||||
if (m->mq_mess.m_type == DEV_CANCEL)
|
if (m->mq_mess.m_type == DEV_CANCEL)
|
||||||
|
@ -317,10 +312,6 @@ mq_t *m;
|
||||||
sr_fd= sr_getchannel(m->mq_mess.NDEV_MINOR);
|
sr_fd= sr_getchannel(m->mq_mess.NDEV_MINOR);
|
||||||
assert (sr_fd);
|
assert (sr_fd);
|
||||||
|
|
||||||
#if 0
|
|
||||||
printf("sr_rwio: for %d\n", m->mq_mess.NDEV_PROC);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
switch(m->mq_mess.m_type)
|
switch(m->mq_mess.m_type)
|
||||||
{
|
{
|
||||||
case DEV_READ:
|
case DEV_READ:
|
||||||
|
@ -579,7 +570,6 @@ message *m;
|
||||||
if (m_ops & SEL_ERR) i_ops |= SR_SELECT_EXCEPTION;
|
if (m_ops & SEL_ERR) i_ops |= SR_SELECT_EXCEPTION;
|
||||||
if (!(m_ops & SEL_NOTIFY)) i_ops |= SR_SELECT_POLL;
|
if (!(m_ops & SEL_NOTIFY)) i_ops |= SR_SELECT_POLL;
|
||||||
|
|
||||||
printf("should select 0%o on fd %d\n", i_ops, m->NDEV_MINOR);
|
|
||||||
r= (*sr_fd->srf_select)(sr_fd->srf_fd, i_ops);
|
r= (*sr_fd->srf_select)(sr_fd->srf_fd, i_ops);
|
||||||
if (r < 0)
|
if (r < 0)
|
||||||
return r;
|
return r;
|
||||||
|
@ -604,11 +594,6 @@ message *m;
|
||||||
{
|
{
|
||||||
repl_queue= mq->mq_next;
|
repl_queue= mq->mq_next;
|
||||||
|
|
||||||
#if 0
|
|
||||||
printf("sr_status: status %d for proc %d\n",
|
|
||||||
mq->mq_mess.REP_STATUS, mq->mq_mess.REP_PROC_NR);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
mq->mq_mess.m_type= DEV_REVIVE;
|
mq->mq_mess.m_type= DEV_REVIVE;
|
||||||
result= send(mq->mq_mess.m_source, &mq->mq_mess);
|
result= send(mq->mq_mess.m_source, &mq->mq_mess);
|
||||||
if (result != OK)
|
if (result != OK)
|
||||||
|
@ -738,10 +723,6 @@ int is_revive;
|
||||||
assert(operation != DEV_CANCEL);
|
assert(operation != DEV_CANCEL);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 0
|
|
||||||
printf("sr_reply: for %d, is_revive = %d\n", proc, is_revive);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (is_revive)
|
if (is_revive)
|
||||||
mp= &mq->mq_mess;
|
mp= &mq->mq_mess;
|
||||||
else
|
else
|
||||||
|
@ -828,7 +809,6 @@ assert (loc_fd->srf_flags & ip_flag);
|
||||||
{
|
{
|
||||||
if (mq)
|
if (mq)
|
||||||
{
|
{
|
||||||
{ where(); printf("sr_get_userdata: enqueuing event\n"); }
|
|
||||||
arg.ev_ptr= loc_fd;
|
arg.ev_ptr= loc_fd;
|
||||||
ev_enqueue(evp, sr_event, arg);
|
ev_enqueue(evp, sr_event, arg);
|
||||||
}
|
}
|
||||||
|
@ -891,7 +871,6 @@ int for_ioctl;
|
||||||
{
|
{
|
||||||
if (mq)
|
if (mq)
|
||||||
{
|
{
|
||||||
{ where(); printf("sr_put_userdata: enqueuing event\n"); }
|
|
||||||
arg.ev_ptr= loc_fd;
|
arg.ev_ptr= loc_fd;
|
||||||
ev_enqueue(evp, sr_event, arg);
|
ev_enqueue(evp, sr_event, arg);
|
||||||
}
|
}
|
||||||
|
@ -931,8 +910,6 @@ mq_t *mq, *tail, **tail_ptr;
|
||||||
m= mq;
|
m= mq;
|
||||||
mq= mq->mq_next;
|
mq= mq->mq_next;
|
||||||
|
|
||||||
DBLOCK(1, printf("calling rwio\n"));
|
|
||||||
|
|
||||||
result= sr_rwio(m);
|
result= sr_rwio(m);
|
||||||
if (result == SUSPEND)
|
if (result == SUSPEND)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue