Better logging in vtrpc, publish cache statistics.
This commit is contained in:
parent
f51bf04878
commit
7252036fe8
4 changed files with 23 additions and 7 deletions
|
|
@ -9,12 +9,10 @@ vtfcallrpc(VtConn *z, VtFcall *ou, VtFcall *in)
|
|||
{
|
||||
Packet *p;
|
||||
|
||||
if(chattyventi)
|
||||
fprint(2, "%s -> %F\n", argv0, ou);
|
||||
p = vtfcallpack(ou);
|
||||
if(p == nil)
|
||||
return -1;
|
||||
if((p = vtrpc(z, p)) == nil)
|
||||
if((p = _vtrpc(z, p, ou)) == nil)
|
||||
return -1;
|
||||
if(vtfcallunpack(in, p) < 0){
|
||||
packetfree(p);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue