mar-file-system / marfs

MarFS provides a scalable near-POSIX file system by using one or more POSIX file systems as a scalable metadata component and one or more data stores (object, file, etc) as a scalable data component.
Other
96 stars 27 forks source link

generic config extensions for xDAL #162

Closed jti-lanl closed 8 years ago

jti-lanl commented 8 years ago

Instead of having a mess of configuration options that are used by various xDAL implementations, an obviously-better approach is to have a generic list of key-value, or just indexed, options. These can then be specified as needed and DALs can go look for them in a known spot (e.g. configured as "dal_options", or something). When you change the DAL, you add a known set of options as a sub-list, in a known spot.

PA2X already supports generic lists, like we use for the repo_range lists. This should be good enough. Problem with key-value is there may be a lot of dynamic string-parsing. Better might be the indexed approach, with typed values that can be parsed once and installed as values at config-loading time.

jti-lanl commented 8 years ago

Done in the 'generic-options' branch.