Commit 4ba2fafe authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Eliminate WSL() usage.

parent 2608703b
......@@ -183,8 +183,8 @@ bes_conn_try(const struct sess *sp, struct vbc *vc, const struct vdi_simple *vs)
} else {
vc->vsl_id = s | VSL_BACKENDMARKER;
VTCP_myname(s, abuf1, sizeof abuf1, pbuf1, sizeof pbuf1);
WSL(sp->req->vsl, SLT_BackendOpen, vc->vsl_id, "%s %s %s ",
vs->backend->display_name, abuf1, pbuf1);
VSLb(sp->req->vsl, SLT_BackendOpen, "%d %s %s %s ",
vc->fd, vs->backend->display_name, abuf1, pbuf1);
}
}
......@@ -354,12 +354,12 @@ vbe_GetVbe(const struct sess *sp, struct vdi_simple *vs)
return (vc);
}
VSC_C_main->backend_toolate++;
WSL(sp->wrk->vsl, SLT_BackendClose, vc->vsl_id, "%s",
bp->display_name);
VSLb(sp->req->vsl, SLT_BackendClose, "%d %s toolate",
vc->fd, bp->display_name);
/* Checkpoint log to flush all info related to this connection
before the OS reuses the FD */
VSL_Flush(sp->wrk->vsl, 0);
VSL_Flush(sp->req->vsl, 0);
VTCP_close(&vc->fd);
VBE_DropRefConn(bp);
......
......@@ -55,7 +55,7 @@ VDI_CloseFd(struct worker *wrk, struct vbc **vbp)
bp = vc->backend;
WSL(vc->vsl, SLT_BackendClose, vc->vsl_id, "%s", bp->display_name);
VSLb(vc->vsl, SLT_BackendClose, "%s", bp->display_name);
/* Checkpoint log to flush all info related to this connection
before the OS reuses the FD */
......@@ -89,7 +89,7 @@ VDI_RecycleFd(struct worker *wrk, struct vbc **vbp)
bp = vc->backend;
WSL(vc->vsl, SLT_BackendReuse, vc->vsl_id, "%s", bp->display_name);
VSLb(vc->vsl, SLT_BackendReuse, "%s", bp->display_name);
/*
* Flush the shmlog, so that another session reusing this backend
......
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