From owner-freebsd-commit Thu Oct 12 06:35:05 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA11723 for freebsd-commit-outgoing; Thu, 12 Oct 1995 06:35:05 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA11575 for cvs-all-outgoing; Thu, 12 Oct 1995 06:33:40 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA11562 for cvs-sys-outgoing; Thu, 12 Oct 1995 06:33:37 -0700 Received: from hda.com (hda.com [199.232.40.182]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id GAA11542 ; Thu, 12 Oct 1995 06:33:27 -0700 Received: (from dufault@localhost) by hda.com (8.6.11/8.6.9) id FAA02039; Thu, 12 Oct 1995 05:35:27 -0400 From: Peter Dufault Message-Id: <199510120935.FAA02039@hda.com> Subject: Re: cvs commit: src/sys/scsi sd.c st.c To: julian@freefall.freebsd.org (Julian Elischer) Date: Thu, 12 Oct 1995 05:35:27 -0400 (EDT) Cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199510120202.TAA28012@freefall.freebsd.org> from "Julian Elischer" at Oct 11, 95 07:02:06 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 854 Sender: owner-commit@FreeBSD.org Precedence: bulk > > julian 95/10/11 19:02:06 > > Modified: sys/scsi sd.c st.c > Log: > Ack! > sometime around 1.51, the check for minphys dissappeared out of > transfers for disks.. > we weren't hecking that the adapter could handle a transfer of > the size we were requesting.. > Peter!? > :) I moved it up into scsi_strategy. I apparently missed the raw I/O case. > this explains the rash of failures I've seen reported recently > with "too many DMA segments" on raw devices > > (added one for st as well) Can you put it in scsi_read/scsi_write instead so that all devices will have it? Certainly the worm (if anyone ever gets one to test) will need it. -- Peter Dufault Real Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267