Re: [PATCH] libata: add TRIM support

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

 



> I imagine some sort of port or host flag, that the LLD could set
> to indicate that it can correctly handle TRIM.  Or not handle TRIM.
> 
> Tejun is pretty good at these flag things.. I wonder what he might suggest?

As I said - just error it in your driver qc_issue function. If you are
feeling really arty you can hook do_identify and mask the bit in the
ident data as well. See it821x 'smart' RAID mode for both of those in
pata_it821x.c

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux