[3963] in arla-drinkers

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

Re: nnpfs/xfs_message.h documentation

daemon@ATHENA.MIT.EDU (Tomas Olsson)
Wed Jun 21 03:50:13 2006

From arla-drinkers-bounces@stacken.kth.se Wed Jun 21 07:50:13 2006
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 8366 invoked from network); 21 Jun 2006 07:50:13 -0000
Received: from mx3.kth.se (130.237.48.97)
  by charon.mit.edu with SMTP; 21 Jun 2006 07:50:13 -0000
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mx3.kth.se (Postfix) with ESMTP id BBA0E140EE3;
	Wed, 21 Jun 2006 09:50:11 +0200 (CEST)
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 32061-01-57; Wed, 21 Jun 2006 09:50:10 +0200 (CEST)
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
	by mx3.kth.se (Postfix) with ESMTP id A020E140D44;
	Wed, 21 Jun 2006 09:50:10 +0200 (CEST)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
	by tapas.stacken.kth.se (Postfix) with ESMTP id 2B7FD534FC;
	Wed, 21 Jun 2006 09:50:10 +0200 (CEST)
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 A2E91534FC
	for <arla-drinkers@tapas.stacken.kth.se>;
	Wed, 21 Jun 2006 09:50:08 +0200 (CEST)
Received: from mx3.kth.se (mx3.kth.se [130.237.48.97])
	by brev.stacken.kth.se (8.12.10/8.12.10) with ESMTP id k5L7o8Ar011537
	for <arla-drinkers@stacken.kth.se>;
	Wed, 21 Jun 2006 09:50:08 +0200 (MET DST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mx3.kth.se (Postfix) with ESMTP id D2408140EE3
	for <arla-drinkers@stacken.kth.se>;
	Wed, 21 Jun 2006 09:50:07 +0200 (CEST)
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 32061-01-56; Wed, 21 Jun 2006 09:50:06 +0200 (CEST)
Received: from kashyyyk.ite.kth.se (kashyyyk.ite.kth.se [130.237.31.35])
	by mx3.kth.se (Postfix) with ESMTP id AD315140D92;
	Wed, 21 Jun 2006 09:50:06 +0200 (CEST)
Received: by kashyyyk.ite.kth.se (Postfix, from userid 18404)
	id 8C1ED960127; Wed, 21 Jun 2006 09:50:06 +0200 (CEST)
From: Tomas Olsson <tol@stacken.kth.se>
To: Kristaps Johnson <kristaps@gradient-enterprises.com>
Subject: Re: nnpfs/xfs_message.h documentation
References: <Pine.LNX.4.64.0606201605200.5425@cycle0.hinterlands.net>
Date: 21 Jun 2006 09:50:06 +0200
In-Reply-To: <Pine.LNX.4.64.0606201605200.5425@cycle0.hinterlands.net>
Message-ID: <lsrfyhzeymp.fsf@kashyyyk.ite.kth.se>
Lines: 36
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
X-Virus-Scanned: by amavisd-new at kth.se
X-Spam-Status: No, hits=-3.7 tagged_above=-200.0 required=5.0 tests=BAYES_00, 
	RM_bwm_Generic
X-Spam-Level: 
Cc: 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

Kristaps Johnson <kristaps@gradient-enterprises.com> writes:

> Hello everybody.  Does anybody know of API documentation for the 
> nnpfs_message/attr.h (xfs_*.h on some unices) files?
>
Not really.  In arla/doc/nnpfs.txt there's are slightly outdated
descriptions of the messages.  There's also a dot file describing the
various states that nodes can be in in Arla:
 http://cvsweb.stacken.kth.se/cvsweb.cgi/arla-doc/arla-programming/fcache-states.dot?rev=1.4;content-type=text%2Fplain
And 'The life of a file' in arla.info for an overview.

Often there are details in these docs that aren't valid any more, and some
omissions.  Please let me know what you find, nagging actually does help :)

> I'm implementing the xfs char-device with a non-arla superstructure.
>
Nice.  As always, I'm very curious about such things.  How much can you
tell us?

> Thusfar the arlad code itself has provided a clean resource but I'd like
> to be certain about some structures and valid values.
>
Well, you should trust the code more than docs...  Since nnpfs is meant to
be generic everything should be in the common nnpfs includes.  Any
omissions should be corrected.  

> does struct nnpfs_handle always correspond with cell, volume, vnode and
> unique?
>
In arlad, yes.  In nnpfs it can be anything your daemon wants it to be.
It's just a 128 bit node id.  In Keso (filesystem on top of a distributed
hash table) they used the file's hash (sort of).

I'm sure there are more things that need clarification; just ask.

/t (wants a lib that isolates daemon writers from nnpfs details)
_______________________________________________
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