nvme_fc: replace ioabort msleep loop with completion
authorJames Smart <jsmart2021@gmail.com>
Mon, 22 May 2017 22:28:42 +0000 (15:28 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 28 Jun 2017 14:14:13 +0000 (08:14 -0600)
commit36715cf4b36688aa327d77ddb6bc5f740b01de94
tree435e23bc8f59ca560008de2588b684a3c5b75257
parentb4dfd6ee997d6d5d30b8ace5593ad1a9134418d6
nvme_fc: replace ioabort msleep loop with completion

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

Wait for io aborts to complete wait converted from msleep look to
using a struct completion.

Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/fc.c