[4175] in arla-drinkers
Re: Arla on FreeBSD
daemon@ATHENA.MIT.EDU (Garrett Wollman)
Thu Feb 15 15:08:57 2007
From arla-drinkers-bounces@stacken.kth.se Thu Feb 15 20:08:57 2007
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 25657 invoked from network); 15 Feb 2007 20:08:56 -0000
Received: from mx1.kth.se (130.237.32.140)
by charon.mit.edu with SMTP; 15 Feb 2007 20:08:56 -0000
Received: from localhost (localhost.localdomain [127.0.0.1])
by mx1.kth.se (Postfix) with ESMTP id 0A9D31406C4;
Thu, 15 Feb 2007 21:08:55 +0100 (CET)
Received: from mx1.kth.se ([127.0.0.1])
by localhost (mx1.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
id 09904-01-13; Thu, 15 Feb 2007 21:08:45 +0100 (CET)
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
by mx1.kth.se (Postfix) with ESMTP id 16CB6140752;
Thu, 15 Feb 2007 21:08:42 +0100 (CET)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
by tapas.stacken.kth.se (Postfix) with ESMTP id 935365350F;
Thu, 15 Feb 2007 21:08:41 +0100 (CET)
X-Original-To: arla-drinkers@tapas.stacken.kth.se
Delivered-To: arla-drinkers@tapas.stacken.kth.se
Received: from brev.stacken.kth.se (brev.stacken.kth.se [130.237.234.84])
by tapas.stacken.kth.se (Postfix) with ESMTP id 6E38D5350F
for <arla-drinkers@tapas.stacken.kth.se>;
Thu, 15 Feb 2007 21:08:36 +0100 (CET)
Received: from mx1.kth.se (mx1.kth.se [130.237.32.140])
by brev.stacken.kth.se (8.12.10/8.12.10) with ESMTP id l1FK8XOA010138
for <arla-drinkers@stacken.kth.se>;
Thu, 15 Feb 2007 21:08:36 +0100 (MET)
Received: from localhost (localhost.localdomain [127.0.0.1])
by mx1.kth.se (Postfix) with ESMTP id 8A62C14062C
for <arla-drinkers@stacken.kth.se>;
Thu, 15 Feb 2007 21:08:33 +0100 (CET)
Received: from mx1.kth.se ([127.0.0.1])
by localhost (mx1.kth.se [127.0.0.1]) (amavisd-new,
port 10024) with LMTP
id 09904-01-11 for <arla-drinkers@stacken.kth.se>;
Thu, 15 Feb 2007 21:08:28 +0100 (CET)
Received: from khavrinen.csail.mit.edu (khavrinen.csail.mit.edu [128.30.28.20])
by mx1.kth.se (Postfix) with ESMTP id BB9A814054B
for <arla-drinkers@stacken.kth.se>;
Thu, 15 Feb 2007 21:08:27 +0100 (CET)
Received: from khavrinen.csail.mit.edu (localhost.csail.mit.edu [127.0.0.1])
by khavrinen.csail.mit.edu (8.13.6/8.13.6) with ESMTP id l1FK8D8K033689
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256
verify=OK CN=khavrinen.csail.mit.edu issuer=Client+20CA);
Thu, 15 Feb 2007 15:08:14 -0500 (EST)
(envelope-from wollman@khavrinen.csail.mit.edu)
Received: (from wollman@localhost)
by khavrinen.csail.mit.edu (8.13.6/8.13.6/Submit) id l1FK8Cn0033686;
Thu, 15 Feb 2007 15:08:12 -0500 (EST) (envelope-from wollman)
From: Garrett Wollman <wollman@csail.mit.edu>
MIME-Version: 1.0
Message-ID: <17876.48556.909232.678959@khavrinen.csail.mit.edu>
Date: Thu, 15 Feb 2007 15:08:12 -0500
To: Tomas Olsson <tol@it.su.se>
Subject: Re: Arla on FreeBSD
In-Reply-To: <lsrhctn6393.fsf@kashyyyk.ite.kth.se>
References: <6FC9F9894A9F8C49A722CF9F2132FC2204C9DAB6@ms05.mailstreet2003.net>
<45D1F30A.6080403@freebsd.org> <eqsut3$6a3$1@sea.gmane.org>
<20070213192906.U726@chrishome.localnet>
<20070214162938.GA96725@keira.kiwi-computer.com>
<20070214173211.L1054@chrishome.localnet>
<20070214170808.GC96725@keira.kiwi-computer.com>
<lsrvei45pq1.fsf@kashyyyk.ite.kth.se>
<20070215044707.GA39168@deviant.kiev.zoral.com.ua>
<lsrmz3f680v.fsf_-_@kashyyyk.ite.kth.se>
<20070215104537.GC39168@deviant.kiev.zoral.com.ua>
<lsrhctn6393.fsf@kashyyyk.ite.kth.se>
X-Mailer: VM 7.17 under 21.4 (patch 20) "Double Solitaire" XEmacs Lucid
X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-3.0
(khavrinen.csail.mit.edu [127.0.0.1]);
Thu, 15 Feb 2007 15:08:14 -0500 (EST)
X-Virus-Scanned: by amavisd-new at kth.se
X-Spam-Status: No, hits=-4.9 tagged_above=-200.0 required=5.0 tests=BAYES_00
X-Spam-Level:
Cc: freebsd-fs@freebsd.org, arla-drinkers@stacken.kth.se
X-BeenThere: arla-drinkers@stacken.kth.se
X-Mailman-Version: 2.1.6
Precedence: list
List-Id: Arla discussions <arla-drinkers.stacken.kth.se>
List-Unsubscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>,
<mailto:arla-drinkers-request@stacken.kth.se?subject=unsubscribe>
List-Archive: <http://lists.stacken.kth.se/pipermail/arla-drinkers>
List-Post: <mailto:arla-drinkers@stacken.kth.se>
List-Help: <mailto:arla-drinkers-request@stacken.kth.se?subject=help>
List-Subscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>,
<mailto:arla-drinkers-request@stacken.kth.se?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: arla-drinkers-bounces@stacken.kth.se
Errors-To: arla-drinkers-bounces@stacken.kth.se
X-Virus-Scanned: by amavisd-new at kth.se
<<On 15 Feb 2007 12:59:04 +0100, Tomas Olsson <tol@it.su.se> said:
> We currently open the cache files from nnpfs' VOPs, are there any risks
> (deadlock?) involved if one passes an absolute path to vn_open() in such a
> context?
A possible compromise (although I don't think vn_open() can handle it)
is to skip the naming layer altogether and just have nnpfs and arlad
pass around file handles (of the getfh()/VFS_FHTOVP() variety). Then
you don't have to worry about naming since you're just accessing the
cache files by inode, and the kernel takes care of managing the vnodes
for you.
-GAWollman
_______________________________________________
Arla-drinkers mailing list
Arla-drinkers@stacken.kth.se
https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers