From owner-cvs-all Tue Jul 28 12:41:49 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA26536 for cvs-all-outgoing; Tue, 28 Jul 1998 12:41:49 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA26328; Tue, 28 Jul 1998 12:40:36 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id MAA12098; Tue, 28 Jul 1998 12:39:10 -0700 (PDT) Date: Tue, 28 Jul 1998 12:39:10 -0700 (PDT) Message-Id: <199807281939.MAA12098@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/kern subr_diskslice.c Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1998/07/28 12:39:09 PDT Modified files: sys/kern subr_diskslice.c Log: Set bp->b_resid for failed transfers in dscheck(). This is the best place to set it, and the wd and wfd strategy routines don't set it (for failed transfers) because they expect dscheck() to initialize everything necessary. dscheck() has always set B_ERROR, but this is not quite sufficient, because b_resid is used by physio() to decide how much of a B_ERROR'ed i/o was done. Revision Changes Path 1.53 +2 -1 src/sys/kern/subr_diskslice.c