diff options
author | ken <ken@FreeBSD.org> | 1999-02-26 18:38:06 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 1999-02-26 18:38:06 +0000 |
commit | 663aa4f0a8d13099acb684f0e521bc3698ffc0b8 (patch) | |
tree | 58695c7a9e7624153af4fbc56dff7284627fcb53 /sys/cam | |
parent | 97ffe2750757be675c5bd0f37bf81ffcce13aa97 (diff) | |
download | FreeBSD-src-663aa4f0a8d13099acb684f0e521bc3698ffc0b8.zip FreeBSD-src-663aa4f0a8d13099acb684f0e521bc3698ffc0b8.tar.gz |
Add a quirk entry for the Seagate Medalist Pro 6 gig drive. It seems this
drive has very poor write performance (1.4MB/sec vs. 12MB/sec) with anything
more than two oustanding transactions.
So, this limits the number of tagged commands to two for that drive.
Thanks to Paul van der Zwan for doing a whole lot of testing to confirm
this.
Reported by: Paul van der Zwan <paulz@trantor.xs4all.nl>
Diffstat (limited to 'sys/cam')
-rw-r--r-- | sys/cam/cam_xpt.c | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c index 257c830..ced6f7a 100644 --- a/sys/cam/cam_xpt.c +++ b/sys/cam/cam_xpt.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: cam_xpt.c,v 1.43 1999/01/27 20:09:16 dillon Exp $ + * $Id: cam_xpt.c,v 1.44 1999/02/18 18:08:39 ken Exp $ */ #include <sys/param.h> #include <sys/systm.h> @@ -237,6 +237,7 @@ static const char quantum[] = "QUANTUM"; static const char sony[] = "SONY"; static const char west_digital[] = "WDIGTL"; static const char samsung[] = "SAMSUNG"; +static const char seagate[] = "SEAGATE"; static struct xpt_quirk_entry xpt_quirk_table[] = { @@ -303,12 +304,23 @@ static struct xpt_quirk_entry xpt_quirk_table[] = * Reported by: Bret Ford <bford@uop.cs.uop.edu> * and: Martin Renters <martin@tdc.on.ca> */ - { T_DIRECT, SIP_MEDIA_FIXED, "SEAGATE", "ST410800*", "71*" }, + { T_DIRECT, SIP_MEDIA_FIXED, seagate, "ST410800*", "71*" }, /*quirks*/0, /*mintags*/0, /*maxtags*/0 }, - { + { + /* + * Broken tagged queueing drive. (Write performance is + * very bad with anything more than 2 tags. + * + * Reported by: Paul van der Zwan <paulz@trantor.xs4all.nl> + * Drive: <SEAGATE ST36530N 1444> + */ + { T_DIRECT, SIP_MEDIA_FIXED, seagate, "ST36530*", "*"}, + /*quirks*/0, /*mintags*/2, /*maxtags*/2 + }, + { /* Broken tagged queuing drive */ - { T_DIRECT, SIP_MEDIA_REMOVABLE, "iomega", "jaz*", "*" }, + { T_DIRECT, SIP_MEDIA_REMOVABLE, "iomega", "jaz*", "*" }, /*quirks*/0, /*mintags*/0, /*maxtags*/0 }, { |