From: Martin Devera <devik@cdi.cz>
To: linux-kernel@vger.kernel.org
Cc: phil@icglink.com, akpm@osdl.org, Eric.Moore@lsil.com,
Holger.Kiehl@dwd.de, James.Bottomley@SteelEye.com,
artur.kedzierski@navy.mil
Subject: Fusion-MPT slowness workaround
Date: Tue, 01 Nov 2005 18:46:21 +0100 [thread overview]
Message-ID: <4367A9ED.5050306@cdi.cz> (raw)
[-- Attachment #1: Type: text/plain, Size: 354 bytes --]
Hello,
because I ran into problem with fusion mpt scsi with 2.6.14 yesterday
I tried to find a workaround.
Because it seems that there is bug in DV code I patched driver to skip
DV and use firmware negotiation data.
It "works for me" both compiled-in and as module.
I tried to Cc all ppl who were working on the issue in past.
Martin Devera aka devik
[-- Attachment #2: mpt-dv-off.diff --]
[-- Type: text/plain, Size: 1674 bytes --]
diff -urpb linux-2.6.14/drivers/message/fusion/mptscsih.c drivers/message/fusion/mptscsih.c
--- linux-2.6.14/drivers/message/fusion/mptscsih.c Fri Oct 28 02:02:08 2005
+++ drivers/message/fusion/mptscsih.c Tue Nov 1 15:27:23 2005
@@ -163,10 +163,10 @@ static int mptscsih_synchronize_cache(MP
static struct work_struct mptscsih_persistTask;
+static int mptscsih_is_phys_disk(MPT_ADAPTER *ioc, int id);
#ifdef MPTSCSIH_ENABLE_DOMAIN_VALIDATION
static int mptscsih_do_raid(MPT_SCSI_HOST *hd, u8 action, INTERNAL_CMD *io);
static void mptscsih_domainValidation(void *hd);
-static int mptscsih_is_phys_disk(MPT_ADAPTER *ioc, int id);
static void mptscsih_qas_check(MPT_SCSI_HOST *hd, int id);
static int mptscsih_doDv(MPT_SCSI_HOST *hd, int channel, int target);
static void mptscsih_dv_parms(MPT_SCSI_HOST *hd, DVPARAMETERS *dv,void *pPage);
@@ -4196,7 +4196,7 @@ mptscsih_domainValidation(void *arg)
return;
}
-
+#endif
/* Search IOC page 3 to determine if this is hidden physical disk
*/
/* Search IOC page 3 to determine if this is hidden physical disk
@@ -4216,6 +4216,7 @@ mptscsih_is_phys_disk(MPT_ADAPTER *ioc,
return 0;
}
+#ifdef MPTSCSIH_ENABLE_DOMAIN_VALIDATION
/* Write SDP1 if no QAS has been enabled
*/
diff -urpb linux-2.6.14/drivers/message/fusion/mptscsih.h drivers/message/fusion/mptscsih.h
--- linux-2.6.14/drivers/message/fusion/mptscsih.h Fri Oct 28 02:02:08 2005
+++ drivers/message/fusion/mptscsih.h Tue Nov 1 15:24:55 2005
@@ -67,7 +67,7 @@
* capabilities.
*/
-#define MPTSCSIH_ENABLE_DOMAIN_VALIDATION
+//#define MPTSCSIH_ENABLE_DOMAIN_VALIDATION
/* SCSI driver setup structure. Settings can be overridden
next reply other threads:[~2005-11-01 17:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-01 17:46 Martin Devera [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-11-01 18:02 Fusion-MPT slowness workaround Moore, Eric Dean
2005-11-01 18:11 ` Martin Devera
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4367A9ED.5050306@cdi.cz \
--to=devik@cdi.cz \
--cc=Eric.Moore@lsil.com \
--cc=Holger.Kiehl@dwd.de \
--cc=James.Bottomley@SteelEye.com \
--cc=akpm@osdl.org \
--cc=artur.kedzierski@navy.mil \
--cc=linux-kernel@vger.kernel.org \
--cc=phil@icglink.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.