From owner-freebsd-stable Fri Feb 1 14:40: 4 2002 Delivered-To: freebsd-stable@freebsd.org Received: from dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NetScum.dyndns.dk (dclient217-162-168-49.hispeed.ch [217.162.168.49]) by hub.freebsd.org (Postfix) with ESMTP id B42BF37B405; Fri, 1 Feb 2002 14:39:51 -0800 (PST) Received: from beerswilling.netscum.dyndns.dk (dcf77-zeit.netscum.dyndns.dk [172.27.72.27] (may be forged)) by dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NetScum.dyndns.dk (8.11.6/8.11.6) with ESMTP id g11MdnV01562 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified FAIL); Fri, 1 Feb 2002 23:39:50 +0100 (CET) (envelope-from bounce@dcf77-zeit.netscum.dyndns.dk) Received: (from root@localhost) by beerswilling.netscum.dyndns.dk (8.11.6/8.11.6) id g11MdnQ01561; Fri, 1 Feb 2002 23:39:49 +0100 (CET) (envelope-from bounce@dcf77-zeit.netscum.dyndns.dk) Date: Fri, 1 Feb 2002 23:39:49 +0100 (CET) Message-Id: <200202012239.g11MdnQ01561@beerswilling.netscum.dyndns.dk> From: BOUWSMA Beery To: stable@freebsd.org Cc: Jesper Skriver Subject: Re: mount the same filesystem read-only on multiple boxes, and read-write on one ? References: <20020201195701.F21826@FreeBSD.org> Organization: Men not wearing any pants that dont shave X-Hacked: via telnet to your port 25, what else? X-Internet-Access-Provided-By: Mountain Informatik AG Zuerich X-NetScum: Yes X-Meow: meow meow meow meow meow plonk meow meow meow meow X-One-And-Only-Real-True-Fluffy: No Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hejsa Jesper! %s wrote on %.3s, %lld Sep 1993 > The application would be a usenet news setup, where the overview and/or > spool would be mounted like this. Ewww. I'm not thinking too clearly, which is nothing new, but wouldn't one be also wanting to use synchronous (rw) mounts for something like this, in addition to not caching reads? I know nothing about how softupdates may play into the equation. I mean, it was a beauteous thing to stand in front of news-feed02 and wonder if it was still online, until many seconds later, a disk light would wink as it weaseled its way towards the top (shut UP about my cheating already). Somehow I can't imagine that every one of the 20-some news articles per second it received were being sent to the disk immediately. I'd also wonder about mmap()ed data, not that I know much about it. One may recall many many months back where one of my goals with FreeBSD was to use mmap() in a way to cause an absolute minimum of disk access to and from a random-access file. I'm going to assume that the overview and spool are large, append files, which makes life easier. Basically the thing I worry about is that both the overview and spool reflect accurately on disk, that which the kernel wants to toss to disk, immediately, lest the read-only slaves lose synchronization and present a messed-up view to readers. Buffering and caching sound like your enemies. Though probably nowhere near as severely as on some news swervers I've had the misfortune of reading from. (But Jesper, I thought you had given up news long ago, like me, to do Something Useful with your life ;-) barry bouwsma, ex-newsbastard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message