Commit ac7d3837 authored by Nils Goroll's avatar Nils Goroll

Add back VDP_close()s which we could not use before

When subreqs still used the topreq's VDPs, we could not do this, but now
that we properly layer the VDPs again, we can (and should)
parent 8fc3873e
......@@ -1362,8 +1362,7 @@ fini_subreq(struct req *req, struct node *node)
TAKE_OBJ_NOTNULL(boc, &node->subreq.boc, BOC_MAGIC);
AZ(node->subreq.oc);
// XXX NEED Bytes to topreq
// VDP_close(node->subreq.req);
VDP_close(subreq);
/* bottom of cnt_transmit() */
HSH_Cancel(req->wrk, subreq->objcore, boc);
......@@ -2480,8 +2479,7 @@ vped_deliver(struct req *req, struct boc *boc, int wantbody)
(void)VDP_DeliverObj(req);
// XXX closes topreq VDPs, TODO
// VDP_close(req);
VDP_close(req);
node->final.fi_state = FI_DONE;
AZ(pthread_cond_signal(&node->final.fi_cond));
......
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