diff options
author | Kenneth D. Merry <ken@FreeBSD.org> | 1999-02-26 18:38:06 +0000 |
---|---|---|
committer | Kenneth D. Merry <ken@FreeBSD.org> | 1999-02-26 18:38:06 +0000 |
commit | 560d629f72e0f7925ff26c4e249ff6cbe53acdc0 (patch) | |
tree | 5ff2a8e0f2fead21aadd788edf5a8c04ea7bad59 /sys/cam/cam_xpt.c | |
parent | ad0677d4f0db31c7a25555f09a8e5f387869fc83 (diff) | |
download | src-560d629f72e0f7925ff26c4e249ff6cbe53acdc0.tar.gz src-560d629f72e0f7925ff26c4e249ff6cbe53acdc0.zip |
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>
Notes
Notes:
svn path=/head/; revision=44300
Diffstat (limited to 'sys/cam/cam_xpt.c')
-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 257c83047b21..ced6f7a55d99 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 }, { |