}
if (sigismember(&(current->pending.signal), SIGKILL) ||
+ sigismember(&(current->pending.signal), SIGTERM) ||
sigismember(&(current->pending.signal), SIGSTOP) ||
sigismember(&(current->pending.signal), SIGINT)) {
req->rq_flags = PTL_RPC_INTR;
/* Abort this request and cleanup any resources associated with it. */
int ptlrpc_abort(struct ptlrpc_request *request)
{
- /* First remove the MD for the reply; in theory, this means
+ /* First remove the ME for the reply; in theory, this means
* that we can tear down the buffer safely. */
//spin_lock(&request->rq_lock);
PtlMEUnlink(request->rq_reply_me_h);
- PtlMDUnlink(request->rq_reply_md_h);
OBD_FREE(request->rq_repbuf, request->rq_replen);
request->rq_repbuf = NULL;
request->rq_replen = 0;
request->rq_req_md.user_ptr = request;
rc = PtlMDBind(peer->peer_ni, request->rq_req_md, &md_h);
+ CERROR("MDBind (outgoing req/rep/bulk): %Lu\n", (__u64)md_h);
if (rc != 0) {
CERROR("PtlMDBind failed: %d\n", rc);
BUG();
bulk->b_md.eventq = bulk_sink_eq;
rc = PtlMDAttach(bulk->b_me_h, bulk->b_md, PTL_UNLINK, &bulk->b_md_h);
+ CERROR("MDAttach (bulk sink): %Lu\n", (__u64)bulk->b_md_h);
if (rc != PTL_OK) {
CERROR("PtlMDAttach failed: %d\n", rc);
BUG();
rc = PtlMDAttach(request->rq_reply_me_h, request->rq_reply_md,
PTL_UNLINK, &request->rq_reply_md_h);
+ CERROR("MDAttach (send RPC): %Lu\n", (__u64)request->rq_reply_md_h);
if (rc != PTL_OK) {
CERROR("PtlMDAttach failed: %d\n", rc);
BUG();
rc = PtlMDAttach(service->srv_me_h[index],
service->srv_md[index],
PTL_RETAIN, &(service->srv_md_h[index]));
+ CERROR("MDAttach (request MDs): %Lu\n",
+ (__u64)(service->srv_md_h[index]));
CDEBUG(D_INFO, "Attach MD in ring, rc %d\n", rc);
if (rc != PTL_OK) {