Date: Fri, 2 Nov 2007 10:55:07 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Dag-Erling Sm??rgrav <des@des.no> Cc: Artem Kuchin <matrix@itlegion.ru>, freebsd-current@freebsd.org Subject: Re: BIO_FLUSH on twe driver. Why is it not there? Message-ID: <20071102095506.GC24455@garage.freebsd.pl> In-Reply-To: <863avptzir.fsf@ds4.des.no> References: <0fbb01c81be1$37e698f0$0c00a8c0@Artem> <863avptzir.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
--raC6veAxrt5nqIoY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 01, 2007 at 10:41:00PM +0100, Dag-Erling Sm??rgrav wrote: > "Artem Kuchin" <matrix@itlegion.ru> writes: > > However, twe is working via scsi subsystem and the authour of gjournal > > said somewhere that he has had implemeneted BIO_FLISH for scsi and he > > specifically mentioned that he has tested twe and twa and they both > > support BIO_FLUSH. >=20 > twa(4) uses CAM, but twe(4) doesn't (and never has). That was my mistake. Someone told me (I think it was jhb@), that twe(4) turns off write cache automatically when there is no battery, so BIO_FLUSH isn't really needed and if there is a battery, it also isn't really needed. It would be nice to hide the warning in this case somehow, but for now you should be safe by simply ignoring the warning. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --raC6veAxrt5nqIoY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHKvP6ForvXbEpPzQRArC1AKDYt++IZRHMNGw34YSCRYP/PcyPMACfdYfZ wKmuBESlc++ufx3fCI8vh9k= =gA6r -----END PGP SIGNATURE----- --raC6veAxrt5nqIoY--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071102095506.GC24455>