From owner-cvs-all Sat Sep 18 15: 2:44 1999 Delivered-To: cvs-all@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id B98A414FD5; Sat, 18 Sep 1999 15:02:36 -0700 (PDT) (envelope-from julian@whistle.com) Received: from home.elischer.org (home.elischer.org [207.76.204.203]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id PAA96424; Sat, 18 Sep 1999 15:02:34 -0700 (PDT) Date: Sat, 18 Sep 1999 15:02:39 -0700 (PDT) From: Julian Elischer X-Sender: julian@home.elischer.org To: Poul-Henning Kamp Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/vn vn.c In-Reply-To: <199909182148.OAA88955@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Poul-Henning, since Matt (who is working on this driver) STATED that he didn't want you to do this, why did you do it anyway? If you want to do this right.. Move the calculation of blocksize in spec_read and spec_write to spec_open, and store the value in to si_bsize_best if it's still unset, and then in read/write just blindly use _best, instead of doing the calculation on every read and write. On Sat, 18 Sep 1999, Poul-Henning Kamp wrote: > phk 1999/09/18 14:48:39 PDT > > Modified files: > sys/dev/vn vn.c > Log: > Only assign to si_bsize_phys if we have an intelligent value for it. > Otherwise leave at zero and let the generic code decide. > > Revision Changes Path > 1.95 +1 -2 src/sys/dev/vn/vn.c > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message