Whamcloud - gitweb
Revert "b=21760 Applications hung in direct I/O"
authorVitaly Fertman <vitaly.fertman@sun.com>
Tue, 19 Oct 2010 23:54:17 +0000 (03:54 +0400)
committerVitaly Fertman <vitaly.fertman@sun.com>
Tue, 19 Oct 2010 23:54:17 +0000 (03:54 +0400)
This reverts commit 75b7e5a7b448238e486b8f9bd753cda5f4b4e68b.

lustre/ptlrpc/client.c

index ea4f2e2..06b313f 100644 (file)
@@ -1445,12 +1445,6 @@ int ptlrpc_check_set(const struct lu_env *env, struct ptlrpc_request_set *set)
                         LASSERT(req->rq_next_phase != req->rq_phase);
                         LASSERT(req->rq_next_phase != RQ_PHASE_UNDEFINED);
 
                         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
                         /*
                          * Skip processing until reply is unlinked. We
                          * can't return to pool before that and we can't