Skip to content

Conversation

@mwilck
Copy link

@mwilck mwilck commented Nov 4, 2022

This patch from @hreinecke fixes a problem where rescan-scsi-bus.sh was extremely slow because of repeated probing of standby devices in testonline. Our customer the slowness only in older releases of sg3_utils (1.43), but it should also be helpful for more recent releases.

A LUN might be in ALUA 'standby' or 'unavailable', but this is perfectly
okay and does not indicate that the device is not ready (in the sense
that a repeated call to 'sg_turs' might report different states).
So do not report an error for these devices.

Signed-off-by: Hannes Reinecke <hare@suse.de>
@doug-gilbert
Copy link
Owner

Thanks. Applied upstream with some documentation additions. Mirrored here and corresponds to my svn revision number 980. Does rescan-scsi-bus.sh need any changes to use these new exit status categories?

@mwilck
Copy link
Author

mwilck commented Nov 4, 2022

Does rescan-scsi-bus.sh need any changes to use these new exit status categories?

No.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants