[chord] location

Emil Sit sit at MIT.EDU
Tue Jan 2 09:23:54 EST 2007


On Tue, 26 December 2006 at 15:38 (+0800), hengkui wu wrote:
>    If i want to location the resource(such as a file),through the system i
> can find the successor of the resource ID(key),but the successor just
> maintain the index of the resource,not the real place where the
> resource(such as a file) is real stored.HOW can I find the IP address where
> the resource is stored through the code.

In CFS, the file system and each individual file is striped across
all participating nodes in the system.  The logic that decodes
the index ("inode") structure is in sfsrodb/sfsrodb.C.  The inode
contains the hashes of the sub-blocks that comprise each resource;
a separate chord lookup is required to locate each of those objects.

-- 
Emil Sit / MIT CSAIL PDOS / http://pdos.csail.mit.edu/chord/  



More information about the chord mailing list