Re: [PATCH] ata: disable auto activate if the controller does not support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 14, 2018 at 05:07:02PM +0800, Jason Yan wrote:
> Some SSDs (such as SAMSUNG PM863 and SM863) enable auto activate feature
> by default. Now libata only send set feature command to enable auto
> activate feature if the controller and disk both support this feature.
> But when the controller do not support this feature then the data transfer
> failed. Fix this by sending set feature command to disable this feature
> if the controller does not support it.

If we know which devices behave this way, I think it'd be better to
apply it only to those devices.  You never know where the dragons
might be lurking with optional features on ATA devices.

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux