diff mbox

zfcp: Revert to original scanning behaviour

Message ID 1460096094-126214-1-git-send-email-hare@suse.de (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Hannes Reinecke April 8, 2016, 6:14 a.m. UTC
zfcp has its own mechanism for selective scanning, so revert to
the original scanning behaviour to not confuse users.

Fixes: 4e91e876e9b8b6eb4255aa0d690778a89d3f1d28
Suggested-by: Benjamin Block <bblock@linux.vnet.ibm.com>
Signed-off-by: Hannes Reinecke <hare@suse.com>
---
 drivers/s390/scsi/zfcp_unit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Martin K. Petersen April 12, 2016, 2:14 a.m. UTC | #1
>>>>> "Hannes" == Hannes Reinecke <hare@suse.de> writes:

Hannes> zfcp has its own mechanism for selective scanning, so revert to
Hannes> the original scanning behaviour to not confuse users.

Benjamin?
Benjamin Block April 12, 2016, 11 a.m. UTC | #2
On 22:14 Mon 11 Apr     , Martin K. Petersen wrote:
> >>>>> "Hannes" == Hannes Reinecke <hare@suse.de> writes:
> 
> Hannes> zfcp has its own mechanism for selective scanning, so revert to
> Hannes> the original scanning behaviour to not confuse users.
> 
> Benjamin?
> 

Sry, I meant to quickly test this yesterday but got carried away. As far
as I understand the patch-series this should be good.

Reviewed-by: Benjamin Block <bblock@linux.vnet.ibm.com>



                                                    Beste Grüße / Best regards,
                                                      - Benjamin Block
Martin K. Petersen April 12, 2016, 6:39 p.m. UTC | #3
>>>>> "Hannes" == Hannes Reinecke <hare@suse.de> writes:

Hannes> zfcp has its own mechanism for selective scanning, so revert to
Hannes> the original scanning behaviour to not confuse users.

Applied to 4.7/scsi-queue.
diff mbox

Patch

diff --git a/drivers/s390/scsi/zfcp_unit.c b/drivers/s390/scsi/zfcp_unit.c
index 08bba7c..9310a54 100644
--- a/drivers/s390/scsi/zfcp_unit.c
+++ b/drivers/s390/scsi/zfcp_unit.c
@@ -27,7 +27,7 @@  void zfcp_unit_scsi_scan(struct zfcp_unit *unit)
 
 	if (rport && rport->port_state == FC_PORTSTATE_ONLINE)
 		scsi_scan_target(&rport->dev, 0, rport->scsi_target_id, lun,
-				 SCSI_SCAN_RESCAN);
+				 SCSI_SCAN_MANUAL);
 }
 
 static void zfcp_unit_scsi_scan_work(struct work_struct *work)