RE: [isci PATCH v3 3/4] libsas: suspend / resume support
From: Jack Wang <hidden>
Date: 2012-03-22 07:44:33
Also in:
linux-scsi
2012/3/16 Jack Wang [off-list ref]:quoted
Dan, I found problem about SATA error handle and this also led to panic when runsuspend/resume test. Thanks again for your share debug method and patch of testing suspend/resume problem.quoted
The problem is: When probe libata probe sata will try to reset device and send IDENTIFY DEVICE..commands when 3 times fail will give up but never tell libsas and lldd to clean up the resource. And if some time later the device came up report BROADCAST CHANGE and libsas found device try to tell lldd, but lldd is not forget the original one will reject this.quoted
Should we export sas_unregister_devs_sas_addr let ata call this when giveup. Have a look at "libsas: fix ata_eh clobbering ex_phys via smp_ata_check_ready" [1], this fixed up cases where libsas failed to handle ata device unplug in our environment. -- Dan [1]: http://marc.info/?l=linux-scsi&m=133239709603452&w=2
[Jack Wang] Thanks Dan, we are testing your new patchset in our test environment, will report back result.
-- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html