[Pvfs2-developers] [Fwd: Re: [Pvfs-developers] about pvfs2 code]

Phil Carns carns at mcs.anl.gov
Mon Mar 31 09:12:33 EST 2008


jian hu wrote:
> Hello,
> I'm a beginner of pvfs2. Now I'm reading the code of it and try to 
> modify the code a little bit to
> change the stripe style of the file system.
> 
> Can someone give me some tips or hint about where to start? Although I 
> read the documents
> of pvfs but in fact, I can't even find the main  function of the server 
> and don't know where to start.
> 
> I'm appreciated any response from you.
> 
> Thank you very much.

I am cc'ing the pvfs2-developers mailing list; I think that is probably 
where this was meant to be posted.

Does question 6.5 on the faq help?

http://www.pvfs.org/cvs/pvfs-2-7-branch.build/doc/pvfs2-faq/pvfs2-faq.php#SECTION00075000000000000000

That describes how to change the distribution (and distribution 
parameters such as strip size) that will be selected for new files that 
are created in a given directory. If you need to actually implement a
new distribution from scratch, then you can find examples of the current 
distribution implementations in src/io/description/dist*.c.

-Phil



More information about the Pvfs2-developers mailing list