[Pvfs2-developers] pvfs layout

Sam Lang slang at mcs.anl.gov
Wed Jun 20 18:05:30 EDT 2007


Hey all,

Here's a patch that adds a layout parameter to sys_create.  The idea  
is that users may want to specify exactly which servers are chosen  
for a file to be distributed over, or use an algorithm (like in-order  
round-robin).  So in the layout structure, a layout algorithm must be  
defined.  The current algorithms are:

none:  order the datafiles according to the server list.
round-robin:  choose the first server randomly, and round-robin in- 
order of the server list.
random:  order the datafiles randomly (with unique servers).
list:  provide an exact list of servers

For the list algorithm, a separate list structure must be specified,  
which is a count of servers and their BMI address references.  The  
patch includes functions to get all the server BMI addresses and map  
them to hostnames.

Let me know what you think.

-sam


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pvfs-layout.patch
Type: application/octet-stream
Size: 33921 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20070620/1b9d368d/pvfs-layout-0001.obj


More information about the Pvfs2-developers mailing list