Re: [PATCH v6 09/19] scsi: allow enabling and disabling command duration limits

Christoph Hellwig
2023-04-11T06:16:59Z

On Thu, Apr 06, 2023 at 01:32:38PM +0200, Niklas Cassel wrote:
> + /*
> + * For ATA devices, CDL needs to be enabled with a SET FEATURES command.
> + */
> + if (is_ata) {

I don't think these hacks have any business in the SCSI layer. We should
probbaly just do this unconditionally for CDL enabled ATA devices at
probe time.