Commit Graph
3 Commits
Author SHA1 Message Date
Martin K. Petersen 4b9d64ee04 libata: Fix sysfs documentation bug
forced_unqueued indicates that a drive's queued DSM support is
broken. Update sysfs ABI documentation accordingly.

Reported-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
2015-05-06 10:28:39 -04:00
Martin K. Petersen f303074160 libata: Expose TRIM capability in sysfs
Create a sysfs "trim" attribute for each ata_device that displays
whether DSM TRIM is "unsupported", "unqueued", "forced_unqueued"
(blacklisted) or "queued".

Signed-off-by: Martin K. Petersen <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
2015-05-05 09:30:18 -04:00
Gwendal Grignou d9027470b8 [libata] Add ATA transport class
This is a scheleton for libata transport class.
All information is read only, exporting information from libata:
- ata_port class: one per ATA port
- ata_link class: one per ATA port or 15 for SATA Port Multiplier
- ata_device class: up to 2 for PATA link, usually one for SATA.

Signed-off-by: Gwendal Grignou <[email protected]>
Reviewed-by: Grant Grundler <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
2010-10-21 20:21:03 -04:00