From owner-freebsd-current Tue Jan 7 05:47:31 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id FAA22715 for current-outgoing; Tue, 7 Jan 1997 05:47:31 -0800 (PST) Received: from ravenock.cybercity.dk (ravenock.cybercity.dk [194.16.57.32]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id FAA22710 for ; Tue, 7 Jan 1997 05:47:27 -0800 (PST) Received: (from sos@localhost) by ravenock.cybercity.dk (8.8.4/8.7.3) id OAA03066 for current@freebsd.org; Tue, 7 Jan 1997 14:49:16 +0100 (MET) Message-Id: <199701071349.OAA03066@ravenock.cybercity.dk> Subject: Any specfs specialists out there ?? To: current@freebsd.org (FreeBSD current) Date: Tue, 7 Jan 1997 14:49:07 +0100 (MET) From: sos@freebsd.org Reply-to: sos@freebsd.org X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have a problem with specfs. In specfs_getpages() all transfers are rounded to DEV_BSIZE bytes, that wont do on devices with != 512 byte sector size. I need to have the specfs know about the sectorsize, or at least the block size of the fs (which then could be set to n*sectorsize) The problem is that the struct vop_getpages_args that specfs_getpages() gets handed apparently doesn't have any info I can use, well I found the blocksize deep down in a structure, but it seems to be unset on entry :( I faked this by using 2*DEV_BSIZE which works just dandy on my 1K sec disks. Any good ideas ?? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end ..