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


Attachment: pvfs-layout.patch
Description: Binary data

_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to