[4173] in arla-drinkers

home help back first fref pref prev next nref lref last post

Re: Arla on FreeBSD

daemon@ATHENA.MIT.EDU (Robert Watson)
Thu Feb 15 10:05:06 2007

From arla-drinkers-bounces@stacken.kth.se Thu Feb 15 15:05:06 2007
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 7284 invoked from network); 15 Feb 2007 15:05:05 -0000
Received: from mx3.kth.se (130.237.48.97)
  by charon.mit.edu with SMTP; 15 Feb 2007 15:05:05 -0000
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mx3.kth.se (Postfix) with ESMTP id AC13414071D;
	Thu, 15 Feb 2007 16:05:04 +0100 (CET)
Received: from mx3.kth.se ([127.0.0.1])
 by localhost (mx3.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 32527-03-52; Thu, 15 Feb 2007 16:04:51 +0100 (CET)
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
	by mx3.kth.se (Postfix) with ESMTP id 1ED871406FB;
	Thu, 15 Feb 2007 16:04:50 +0100 (CET)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
	by tapas.stacken.kth.se (Postfix) with ESMTP id 5F5E35350F;
	Thu, 15 Feb 2007 16:04:50 +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 488515350F
	for <arla-drinkers@tapas.stacken.kth.se>;
	Thu, 15 Feb 2007 16:04:47 +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 l1FF4kOA007313
	for <arla-drinkers@stacken.kth.se>;
	Thu, 15 Feb 2007 16:04:46 +0100 (MET)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mx1.kth.se (Postfix) with ESMTP id F1773140501
	for <arla-drinkers@stacken.kth.se>;
	Thu, 15 Feb 2007 16:04:45 +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 03338-01-51 for <arla-drinkers@stacken.kth.se>;
	Thu, 15 Feb 2007 16:04:41 +0100 (CET)
Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42])
	by mx1.kth.se (Postfix) with ESMTP id 8ED7114054D
	for <arla-drinkers@stacken.kth.se>;
	Thu, 15 Feb 2007 16:04:40 +0100 (CET)
Received: from fledge.watson.org (fledge.watson.org [209.31.154.41])
	by cyrus.watson.org (Postfix) with ESMTP id 8FC73477DC;
	Thu, 15 Feb 2007 10:04:39 -0500 (EST)
Date: Thu, 15 Feb 2007 15:04:39 +0000 (GMT)
From: Robert Watson <rwatson@FreeBSD.org>
X-X-Sender: robert@fledge.watson.org
To: Tomas Olsson <tol@it.su.se>
Subject: Re: Arla on FreeBSD
In-Reply-To: <lsr8xez5v15.fsf@kashyyyk.ite.kth.se>
Message-ID: <20070215150015.O90799@fledge.watson.org>
References: <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>
	<20070215120855.GE39168@deviant.kiev.zoral.com.ua>
	<lsrd54b603c.fsf@kashyyyk.ite.kth.se>
	<20070215134608.GG39168@deviant.kiev.zoral.com.ua>
	<lsr8xez5v15.fsf@kashyyyk.ite.kth.se>
MIME-Version: 1.0
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: Kostik Belousov <kostikbel@gmail.com>, 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 Thu, 15 Feb 2007, Tomas Olsson wrote:

>> Also, you could look at file handle API, that would save you of path 
>> lookups after the vnode is looked up first time (look around for vfs_vptofh 
>> and vfs_fhtovp ops). This API is used by NFS server, so it shall work :).
>>
> That's an idea. We used that before in another context, but then we ran into 
> trouble with too many OSes so we dropped it.  Depends on how much code one 
> can share.

It has been ages since I looked at the xfs/nnpfs internals, but I thought it 
already used file handles to identify cache files to the kernel?  I seem to 
recall several of our fh*() system calls were added by Assar specifically in 
support of Arla work.

With regard to cache files -- historically (i.e., last time I looked closely), 
there was a one-to-one mapping between cache files and files in the Arla 
working set, and all files were transfered "whole" into the local cache. 
This was in contrast to AFS's chunking behavior.  I assume the cache file 
changes to support "lines" in the cache are in support of adding chunking to 
Arla.  Is it the case that one file visible in /afs may now be backed by pages 
coming from different cache files?  How does this interact with the vnode 
pager?  I assume you actually end up with two pagers -- one for the file as 
visible in /afs, and then satisfy the pager's VOP requests by forwarding them 
to the right one of the cache vnodes?  I trust you don't mmap the cache vnode, 
which would lead to cache consistency issues between any mappings of the /afs 
vnode vs the cache vnode?

Any chance we could attract you to BSDCan to meet in person to discuss this? 
:-)

Thanks,

Robert N M Watson
Computer Laboratory
University of Cambridge
_______________________________________________
Arla-drinkers mailing list
Arla-drinkers@stacken.kth.se
https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers

home help back first fref pref prev next nref lref last post