Hello,There are two places will set flag ATA_PFLAG_SCSI_HOTPLUG in libata-eh.c.
On Mon, Jun 20, 2016 at 06:46:55PM -0700, Dan Williams wrote:
On Mon, Jun 20, 2016 at 6:22 PM, Martin K. PetersenI see. I'll hold off for now then. Ding Xiang, can you find out
<martin.petersen@xxxxxxxxxx> wrote:
While it is true that libsas itself handles adding / removing devicesTejun> Martin, can you please confirm whether the above is true. If so,In fact,we don't need libata to deal with hotplug in sas environment."Tejun" == Tejun Heo <tj@xxxxxxxxxx> writes:
So we can't run ata hotplug task when ata port is sas host.
Tejun> I'll route the patch through libata w/ stable cc'd.
Not exactly a libsas expert. James? Dan?
we have historically avoided this conflict because
ATA_PFLAG_SCSI_HOTPLUG is never set for libsas ata_ports. So the bug
/ behavior change is that ATA_PFLAG_SCSI_HOTPLUG gets set in the
first place. Ignoring it is a band-aid / not the real fix afaics.
where that flag is getting set?
Thanks!