This reverts commit
91d48dd54d07c3901da34227037a32412243e08a.
With this patch, ptlrpcd sleeps until bulk buffers are unlinked by
the network stack. Meanwhile, no requests/replies are processed
by ptlrpcd which can cause various kind of problems (e.g. eviction).
LASSERT(req->rq_next_phase != req->rq_phase);
LASSERT(req->rq_next_phase != RQ_PHASE_UNDEFINED);
- /* Abort the bulk, if the request itself has been
- * aborted, for instance, on a client eviction. */
- if (req->rq_err && req->rq_status == -EINTR &&
- req->rq_bulk != NULL)
- ptlrpc_abort_bulk(req->rq_bulk);
-
/* Skip processing until reply is unlinked. We
* can't return to pool before that and we can't
* call interpret before that. We need to make