[Pvfs2-developers] trove method

Sam Lang slang at mcs.anl.gov
Fri Oct 13 01:15:58 EDT 2006


Hi All,

I've attached a patch that provides support for different trove  
methods (currently we only have dbpf).  It also changes Phil's alt- 
aio implementation a little to be a separate trove method (using most  
of the dbpf code).

The motivation for this is to allow multiple different trove methods  
to be supported, and switch easily from one to another.  My next step  
is to modify Julian's version of dbpf that provides multiple threads  
support so that it works as a separate trove method as well.

One issue I'm still not sure about:  I allowed the trove method to be  
specified as part of the Defaults context in the config file, as well  
as in each one of the Filesystem contexts (overrides the default).   
The problem with specifying a different method for each filesystem is  
that the dbpf implementation stores info about the filesystems in the  
collections.db.  Does it make sense to only specify a trove method  
for the entire storage space?

Also, there are some utilities (mkspace for example) that don't read  
in the config files, so they don't know what trove method has been  
specified.  Right now I'm just hardcoding the dbpf method, but that  
means that we can't really use a different trove method to provide a  
different storage format.  Not that we would ever want to...

I'd like to commit this stuff sometime soon.  Please let me know if  
there are any objections or comments.

Thanks,

-sam

-------------- next part --------------
A non-text attachment was scrubbed...
Name: trove-method.patch
Type: application/octet-stream
Size: 82599 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20061013/abb82589/trove-method-0001.obj
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbpf-alt-aio.c
Type: application/octet-stream
Size: 8013 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20061013/abb82589/dbpf-alt-aio-0002.obj
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbpf-alt-aio.h
Type: application/octet-stream
Size: 710 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20061013/abb82589/dbpf-alt-aio-0003.obj
-------------- next part --------------




More information about the Pvfs2-developers mailing list