Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2003 15:48:23 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Thomas Quinot <thomas@FreeBSD.ORG>
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: [src] cvs commit: src/sys/cam cam_periph.c 
Message-ID:  <3417.1066916903@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 23 Oct 2003 15:37:49 %2B0200." <20031023133748.GA33994@melusine.cuivre.fr.eu.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20031023133748.GA33994@melusine.cuivre.fr.eu.org>, Thomas Quinot wr
ites:
>
>--azLHFNyN32YCQGCU
>Content-Type: text/plain; charset=us-ascii
>Content-Disposition: inline
>Content-Transfer-Encoding: quoted-printable
>
>* Poul-Henning Kamp, 2003-10-18 :
>
>>   There is no need to muck about with the B_PHYS flag here.  We never even
>>   get close to DEV_STRATEGY() which is the only place it is relevant.
>>  =20
>>   Revision  Changes    Path
>>   1.54      +0 -8      src/sys/cam/cam_periph.c
>
>I'm afraid this change is wrong.
>
>> -		/* set the flags */
>> -		mapinfo->bp[i]->b_flags =3D B_PHYS;
>> -
>
>12 lines below that point, we call vmapbuf(mapinfo->bp[i]),
>which will panic if B_PHYS is not set. Please consider a backout.

No longer so, I have removed those checks.

I'm only waiting for a review on the vinum bits before B_PHYS
will be entirely gone.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3417.1066916903>