Re: [PATCH 19/28] qedf: drop bus reset handler

Christoph Hellwig
2017-06-28T14:37:17Z

On Wed, Jun 28, 2017 at 10:07:50AM -0400, Chad Dupuis wrote:
> The test case this was meant to fix as using the sg_reset utility with the
> -b option which forces a bus reset with NPIV ports attached. What we were
> finding is that some of the devices attached to the vport were being
> brought offline after 5 seconds as escalating to the host reset handler in
> this case was taking too long.

sg_reset / SG_SCSI_RESET are designed to escalatae to to the bigger
hammers if the method isn't implemented or doesn't succeed.

Use the -N / --no-esc option to disable that. I wish that behavior had
been the default from the beginning, but we can't fix that anymore.