Hi John,

> Could anyone please point to me where in the code the mapping is made
> between logical filepaths and physical?

>From the logical filepaths, you could do a step-by-step lookup
(PVFS_(i)sys_lookup, PVFS_(i)sys_ref_lookup) for each
component of the path to retrieve the metafile handles (for regular
files). Once you have the metafile handle, you could then
issue a getattr (PVFS_(i)sys_getattr) to get all attributes of the file
including the
set/array of data file handles that constitutes the parallel stripes
of the file.

The client-side code for lookup can be found in
src/client/sysint/sys-lookup.sm
and the client-side code for getattr can be found in
src/client/sysint/sys-getattr.sm.

Hope this answered your question?
Thanks,
Murali
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to