From owner-freebsd-commit Sun Jul 16 02:17:35 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id CAA12776 for commit-outgoing; Sun, 16 Jul 1995 02:17:35 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id CAA12220 for cvs-sys-outgoing; Sun, 16 Jul 1995 02:13:26 -0700 Received: (from gibbs@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id CAA12190 ; Sun, 16 Jul 1995 02:13:19 -0700 Date: Sun, 16 Jul 1995 02:13:19 -0700 From: "Justin T. Gibbs" Message-Id: <199507160913.CAA12190@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/scsi st.c Sender: commit-owner@FreeBSD.org Precedence: bulk gibbs 95/07/16 02:13:17 Modified: sys/scsi st.c Log: Do not set SCSI_NOSLEEP on every tape command (the exception being during probes). Apart from there being no reason to set SCSI_NOSLEEP on every tape command, this prevents controller drivers from sleeping when resources are fully utilized causing unecessary "Oops not queued" errors. This is only noticed for controllers that can run out of resources like the 27/2842 adaptec controllers. Before this fix, it is almost impossible to perform extended tape operations if more than one scsi disk is on the bus with the tape drive with these controllers. This does not address a similar problem that could occur if devices are probed while other targets are active since SCSI_NOSLEEP will still be set in that case.