Message ID | 1448037342-18384-28-git-send-email-hch@lst.de (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index 58cff75..9a6e47e 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -1092,7 +1092,13 @@ static enum blk_eh_timer_return nvme_timeout(struct request *req, bool reserved) req->tag, nvmeq->qid); } spin_unlock_irq(&dev_list_lock); - return BLK_EH_RESET_TIMER; + + /* + * Mark the request as quiesced, that is don't do anything with + * it until the error completion from the controller reset + * comes in. + */ + return BLK_EH_QUIESCED; } if (!dev->ctrl.abort_limit)