4 ms·
As a data point, the Linux kernel has a long list of workarounds for "ata" related devices (SSDs, HDDs, etc): https://github.com/torvalds/linux/blob/69f2c93463
by justinclift 4y ago
As a data point, the Linux kernel has a long list of workarounds for "ata" related devices (SSDs, HDDs, etc):
https://github.com/torvalds/linux/blob/69f2c9346313ba3d3dfa4091ff99df26c67c9021/drivers/ata/libata-core.c#L3855-L4106 https://github.com/torvalds/linux/blob/69f2c9346313ba3d3dfa4...
Can be a bit eye opening to look down that and see equipment you're using listed. ;)
- duckmysick 4y agoWhat's horkage?
- jwatt 4y agoBrokenness.
- deleted 4y ago[deleted]
- justinclift 4y agoThis seems to be the same thing for NVMe devices (eg Samsung, SK Hynix, Micron, Kingston, ADATA, Intel, (etc) NVMe drives): https://github.com/torvalds/linux/blob/69f2c9346313ba3d3dfa4091ff99df26c67c9021/drivers/nvme/host/pci.c#L3357-L3497 https://github.com/torvalds/linux/blob/69f2c9346313ba3d3dfa4... Not quite as easy to read and understand as the ata driver code though. With the occasional further device specific workarounds in other parts of the code. eg for specific Toshiba, LiteON, and Kioxia devices: https://github.com/torvalds/linux/blob/69f2c9346313ba3d3dfa4091ff99df26c67c9021/drivers/nvme/host/core.c#L2641-L2672 https://github.com/torvalds/linux/blob/69f2c9346313ba3d3dfa4... While this seems to be special handling for Samsung X5 SSD external drives, and also Samsung 970 Evo Plus drives: https://github.com/torvalds/linux/blob/69f2c9346313ba3d3dfa4091ff99df26c67c9021/drivers/nvme/host/core.c#L2674-L2685 https://github.com/torvalds/linux/blob/69f2c9346313ba3d3dfa4...