From owner-freebsd-geom@FreeBSD.ORG Fri Sep 17 09:41:57 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F093516A4CE; Fri, 17 Sep 2004 09:41:57 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 419A943D3F; Fri, 17 Sep 2004 09:41:57 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id i8H9fuV1091697; Fri, 17 Sep 2004 11:41:56 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Pawel Jakub Dawidek From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 17 Sep 2004 11:29:22 +0200." <20040917092922.GO30151@darkness.comp.waw.pl> Date: Fri, 17 Sep 2004 11:41:56 +0200 Message-ID: <91696.1095414116@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: freebsd-geom@FreeBSD.org Subject: Re: Access counts. X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2004 09:41:58 -0000 In message <20040917092922.GO30151@darkness.comp.waw.pl>, Pawel Jakub Dawidek w rites: >You misunderstud me. We have something like this here: > > taste thread gmirror thread > ------------ -------------- > g_access(da0s1a, 1, 0, 0) > GEOM:g_access(da0s1, 1, 0, 1) > g_access(da0s1, 0, 1, 1) -> EPERM > >This is not the same consumer in taste thread and gmirror thread. Why would you want to open with exclusive in taste ? If you find that you need that once you've looked for metadata you can upgrade at that point. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.