diff options
author | Hannes Reinecke <hare@suse.de> | 2020-02-28 08:53:14 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-02-28 20:54:51 -0500 |
commit | 3d3ca53b163914c1397289d0c2ee6d2f52362dcc (patch) | |
tree | 2f08f18b1ce2c6e38feff0674b3a5c99fa34643a /drivers/scsi/megaraid.h | |
parent | 2bb955840c1dc44746af8a7873d9a0ba70debbd6 (diff) | |
download | linux-3d3ca53b163914c1397289d0c2ee6d2f52362dcc.tar.bz2 |
scsi: aacraid: use scsi_host_(block,unblock) to block I/O
Use scsi_host_block() and scsi_host_unblock() instead of
scsi_block_requests()/scsi_unblock_requests() to block and unblock I/O.
This has the advantage that the block layer will stop sending I/O to the
adapter instead of having the SCSI midlayer requeueing I/O internally.
Link: https://lore.kernel.org/r/20200228075318.91255-10-hare@suse.de
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Balsundar P < Balsundar.P@microchip.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/megaraid.h')
0 files changed, 0 insertions, 0 deletions