summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/be2iscsi/be_main.c
diff options
context:
space:
mode:
authorLong Li <longli@microsoft.com>2017-10-31 14:58:08 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2017-11-06 22:38:29 -0500
commitc58cc70fde299866bc261296166d26a87b4fa7ef (patch)
tree380733a0f9e6f5b006eaa97809983f8837a202cc /drivers/scsi/be2iscsi/be_main.c
parent1c356ec5e932c8d4c83d9782ab3c4164b6471d5d (diff)
downloadblackbird-op-linux-c58cc70fde299866bc261296166d26a87b4fa7ef.tar.gz
blackbird-op-linux-c58cc70fde299866bc261296166d26a87b4fa7ef.zip
scsi: storvsc: Avoid excessive host scan on controller change
When there are multiple disks attached to the same SCSI controller, the host may send several VSTOR_OPERATION_REMOVE_DEVICE or VSTOR_OPERATION_ENUMERATE_BUS messages in a row, to indicate there is a change on the SCSI controller. In response, storvsc rescans the SCSI host. There is no need to do multiple scans on the same host. Fix the code to do only one scan. [mkp: applied by hand] Signed-off-by: Long Li <longli@microsoft.com> Tested-by: Cathy Avery <cavery@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud