From owner-cvs-all@FreeBSD.ORG Sat May 3 10:37:10 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE6DA37B405 for ; Sat, 3 May 2003 10:37:10 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 367F643FE0 for ; Sat, 3 May 2003 10:37:09 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 638 invoked by uid 1000); 3 May 2003 17:37:09 -0000 Date: Sat, 3 May 2003 10:37:09 -0700 (PDT) From: Nate Lawson To: "Kenneth D. Merry" In-Reply-To: <20030503002146.BD38537B49A@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/cam/scsi scsi_da.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2003 17:37:11 -0000 On Fri, 2 May 2003, Kenneth D. Merry wrote: > Modified files: > sys/cam/scsi scsi_da.c > Log: > Fix three problems in large (>2TB) device handling: > - Make sure we don't release the READ CAPACITY CCB twice Does the "s/break/return" fix this? > @@ -1548,8 +1548,8 @@ > softc->state = DA_STATE_PROBE2; > free(rdcap, M_TEMP); > xpt_release_ccb(done_ccb); > - cam_periph_unlock(periph); > - break; > + xpt_schedule(periph, /*priority*/5); > + return; > } > } else { > block_size = scsi_4btoul(rcaplong->length); -Nate