]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nvme-fc: stop queues on error detection
authorJames Smart <jsmart2021@gmail.com>
Tue, 25 Apr 2017 22:32:01 +0000 (15:32 -0700)
committerJens Axboe <axboe@fb.com>
Sat, 20 May 2017 16:11:34 +0000 (10:11 -0600)
commit2952a879bacbfae8b03fd886754e64fe14b8041e
treea073545e38bb96561d2ce65401384fe9dbd157f8
parent85e6a6adf8de7f992e01d2c3c59d9875d658b276
nvme-fc: stop queues on error detection

Per the recommendation by Sagi on:
http://lists.infradead.org/pipermail/linux-nvme/2017-April/009261.html

Rather than waiting for reset work thread to stop queues and abort the ios,
immediately stop the queues on error detection. Reset thread will restop
the queues (as it's called on other paths), but it does not appear to have
a side effect.

Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/fc.c