Date: Tue, 28 Jul 1998 12:39:10 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/kern subr_diskslice.c Message-ID: <199807281939.MAA12098@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807281939.MAA12098>