summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1998-10-15 19:53:30 +0000
committerimp <imp@FreeBSD.org>1998-10-15 19:53:30 +0000
commita0e096d4607ff6df97eda95e2c25e7720d21c2ef (patch)
tree8130f1e5c9ca46600406fda47f118029adb2290b /sys/dev
parent89e6ddee34e21c157b23ce2899b84145b120292b (diff)
downloadFreeBSD-src-a0e096d4607ff6df97eda95e2c25e7720d21c2ef.zip
FreeBSD-src-a0e096d4607ff6df97eda95e2c25e7720d21c2ef.tar.gz
Reduce the number of ccbs to 16, per the aha documentation. Move
bogus comment to proper place. This should fix the hangs people are seeing under very heavy load, at least it does for me. Please let me know if you continue to have problems.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/aha/aha.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/aha/aha.c b/sys/dev/aha/aha.c
index c25af1e..e879542 100644
--- a/sys/dev/aha/aha.c
+++ b/sys/dev/aha/aha.c
@@ -55,7 +55,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: aha.c,v 1.7 1998/10/02 04:37:48 imp Exp $
+ * $Id: aha.c,v 1.8 1998/10/09 21:38:36 gibbs Exp $
*/
#include <sys/param.h>
@@ -401,11 +401,11 @@ aha_fetch_adapter_info(struct aha_softc *aha)
printf("%s: Likely aha 1542A, which might not work properly\n",
aha_name(aha));
- aha->max_sg = 17;
+ aha->max_sg = 17; /* Need 17 to do 64k I/O */
aha->diff_bus = 0;
aha->extended_lun = 0;
aha->extended_trans = 0;
- aha->max_ccbs = 17; /* Need 17 to do 64k I/O */
+ aha->max_ccbs = 16;
/* Determine Sync/Wide/Disc settings */
length_param = sizeof(setup_info);
error = aha_cmd(aha, BOP_INQUIRE_SETUP_INFO, &length_param,
OpenPOWER on IntegriCloud