diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2006-01-27 16:50:27 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-01-27 16:50:27 -0500 |
commit | 51e9f2ff83df6b1c81c5c44f4486c68ed87aa20e (patch) | |
tree | e6f54581c145ad1849bc1b2e4c3dbd2ccead405b /drivers/usb/serial/pl2303.c | |
parent | 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 (diff) |
[libata sata_sil] implement 'slow_down' module parameter
On occasion, a user will submit a patch that enables the "mod15write"
quirk for their device. Enabling this quirk has the effect of clamping
all ATA commands to no more than 15 sectors. The intended use of this
quirk is to stop the controller from generating FIS's of unusual size
("but Wesley, what about the FOUS's?"), which in turn works around
problems in a <list> of hard drives.
One side effect of this quirk is greatly decreased performance. Users
often enable the mod15write quirk to fix various system, power, chip,
and/or driver problems. For a few rare problematic cases, enabling this
has cured lockups or data corruption.
Rather than add bogus listings to the mod15write quirk list (I get a
patch every month doing such), we add a 'slow_down' module parameter.
This allows users to employ a performance sledgehammer in the hopes
of curing a problem. It defaults to off (0), of course.
Diffstat (limited to 'drivers/usb/serial/pl2303.c')
0 files changed, 0 insertions, 0 deletions