From owner-cvs-sys Tue May 5 11:17:07 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA07765 for cvs-sys-outgoing; Tue, 5 May 1998 11:17:07 -0700 (PDT) (envelope-from owner-cvs-sys) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.129.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA07715; Tue, 5 May 1998 11:16:47 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.5) with ESMTP id TAA02010; Tue, 5 May 1998 19:19:51 +0200 (CEST) To: Julian Elischer cc: Bruce Evans , cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-sys@freebsd.org Subject: Re: cvs commit: src/sys/kern vfs_cluster.c In-reply-to: Your message of "Fri, 01 May 1998 09:39:37 PDT." Date: Tue, 05 May 1998 19:19:50 +0200 Message-ID: <2008.894388790@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk It should really be a mount-option, shouldn't it ? Poul-Henning In message , Juli an Elischer writes: >Talking of clusterring.. > >One problem with clustering is the fact that the flag that dissallows >CLUSTERING is stored in the BDEVSW entry. > >from sys/conf.h: >#define D_NOCLUSTERR 0x10000 /* disables cluter read */ >#define D_NOCLUSTERW 0x20000 /* disables cluster write */ >#define D_NOCLUSTERRW (D_NOCLUSTERR | D_NOCLUSTERW) > > which is patently the wrong place for it. for several reasons: > >1/ different SCSI devices may have different ideas about clustering.. >2/ in DEVFS/SLICE, all disks come in through the same major number/devfs[] >entry no matter which driver they eventually get passed to. >3/ [bc]devsw entries will totally go away anyhow. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal