Date: Mon, 9 Mar 1998 05:29:06 +1100 From: Bruce Evans <bde@zeta.org.au> To: dyson@FreeBSD.ORG, gibbs@plutotech.com Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: Re: cvs commit: src/sys/miscfs/specfs spec_vnops.c Message-ID: <199803081829.FAA15021@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> Modified files: >> sys/miscfs/specfs spec_vnops.c >> Log: >> Initialize b_resid, and also print out better diagnostics on I/O >> errors. This will allow for better tracking of user error reports. > >What is b_resid initialized to? CAM only touches b_resid when an error >occurs or there is a residual, so I'm hoping it's initialized to 0. >I think that other portions of the tree also expect it to be zero. It is initialized to 0. This is bogus since it is already initialized to 0 (in initpbuf()). It might be useful to initialize it to a bad value to punish portions of the tree expect it to be zero. It used to be abused as the cylinder number for disksort(), so old code won't expect it to be initialized. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803081829.FAA15021>