scsi: fnic: Drop reserved request handling
authorJohn Garry <john.garry@huawei.com>
Wed, 6 Jul 2022 12:03:52 +0000 (20:03 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 6 Jul 2022 12:33:53 +0000 (06:33 -0600)
The SCSI core code does not support reserved requests, so drop the
handling in fnic_pending_aborts_iter().

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/1657109034-206040-5-git-send-email-john.garry@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/scsi/fnic/fnic_scsi.c

index 3d64877..e7b7f6d 100644 (file)
@@ -2019,8 +2019,6 @@ static bool fnic_pending_aborts_iter(struct scsi_cmnd *sc,
 
        if (sc == iter_data->lr_sc || sc->device != lun_dev)
                return true;
-       if (reserved)
-               return true;
 
        io_lock = fnic_io_lock_tag(fnic, abt_tag);
        spin_lock_irqsave(io_lock, flags);