From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 10:21:22 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53C0716A420 for ; Fri, 2 Nov 2007 10:21:22 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id EB98313C4A8 for ; Fri, 2 Nov 2007 10:21:21 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 4F2E845E90; Fri, 2 Nov 2007 10:55:12 +0100 (CET) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id EF4A545EEB; Fri, 2 Nov 2007 10:55:07 +0100 (CET) Date: Fri, 2 Nov 2007 10:55:07 +0100 From: Pawel Jakub Dawidek To: Dag-Erling Sm??rgrav Message-ID: <20071102095506.GC24455@garage.freebsd.pl> References: <0fbb01c81be1$37e698f0$0c00a8c0@Artem> <863avptzir.fsf@ds4.des.no> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="raC6veAxrt5nqIoY" Content-Disposition: inline In-Reply-To: <863avptzir.fsf@ds4.des.no> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: Artem Kuchin , freebsd-current@freebsd.org Subject: Re: BIO_FLUSH on twe driver. Why is it not there? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 10:21:22 -0000 --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" 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--