That was just a simplification made in the early version. The
soon-to-be-released version will store directory entries all on a single
metadata server for directories containing a small number of directory
entries (where the definition of "small" is configurable). When the number
of entries grows beyond the threshold, the entries will be distributed
across multiple metadata servers.

 

Hope this helps,

Elaine

 

From: [email protected]
[mailto:[email protected]] On Behalf Of ???
Sent: Tuesday, September 20, 2011 12:12 PM
To: pvfs2-developers
Subject: [Pvfs2-developers] Some quesions about the create operation in
pvfs2

 

       In orangefs-2.8.3-EXP, when we create a file , we will call the
function PINT_cached_config_get_meta_handle , and it just randomly select
the server to store the meta data regardless of the size of its parent
directory.So we can conclude that the inode of a file in a directory may
store in different Metadata servers , even though  the directory contains a
few files.

       So I want to know why should pvfs2 use this method to select a
metadata server to store the inode?

I just  know that there is no need to use this method when the directory is
very small, in this case , it may even reduce the system performance .

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

Reply via email to