From owner-freebsd-current Fri Aug 27 9: 8: 1 1999 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (Postfix) with ESMTP id 9AA0C15E01 for ; Fri, 27 Aug 1999 09:07:59 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id JAA31629; Fri, 27 Aug 1999 09:05:08 -0700 (PDT) (envelope-from dillon) Date: Fri, 27 Aug 1999 09:05:08 -0700 (PDT) From: Matthew Dillon Message-Id: <199908271605.JAA31629@apollo.backplane.com> To: Poul-Henning Kamp Cc: Greg Lehey , Christopher Masto , "John W. DeBoskey" , julian@whistle.com, freebsd-current@FreeBSD.ORG Subject: Re: -current kernel problems (spec_getpages & vm_fault) References: <3839.935736904@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :Greg, : :4K is probably too conservative, it only applies if you have a :swap-backed vn device at the bottom, which would be a truly :weird thing to do with vinum. : :Don't spend too much time on tracking the sector size yet. I think :the si_bsize stuff needs some thinking before we do more with it. : :Poul-Henning There's nothing wrong with the si_bsize stuff, but it got broken temporarily with all the dev_t work. All that really needs to be done is to reset the block sizes to their defaults when the last reference to the device goes away. This way reconfigurable devices do not have to reload the defaults prior to making adjustments based on the actual sector size of the device. There is no better way to do it. specfs and physio need to know how to realign byte-aligned I/O requests for physical devices. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message