Files | |
| file | pvfs2-migrate-collection.c |
Defines | |
| #define | KEYVAL_MAX_NUM_BUCKETS_0_0_1 32 |
| #define | BSTREAM_MAX_NUM_BUCKETS_0_0_1 64 |
| #define | DBPF_KEYVAL_GET_BUCKET_0_0_1(__handle, __id) |
Functions | |
| void | print_help (char *progname) |
| int | parse_args (int argc, char **argv, options_t *opts) |
| int | src_get_version (char *storage_space, TROVE_coll_id coll_id, char *coll_name, char *ver_string, int ver_string_max) |
| int | src_get_version_0_0_1 (char *storage_space, TROVE_coll_id coll_id, char *ver_string, int ver_string_max) |
| int | translate_0_0_1 (char *storage_space, char *old_coll_path, char *coll_name, TROVE_coll_id coll_id) |
| int | translate_coll_eattr_0_0_1 (char *old_coll_path, TROVE_coll_id coll_id, char *coll_name, TROVE_context_id trove_context) |
| int | translate_dspace_attr_0_0_1 (char *old_coll_path, TROVE_coll_id coll_id, char *coll_name, TROVE_context_id trove_context) |
| int | translate_keyvals_0_0_1 (char *old_coll_path, TROVE_coll_id coll_id, char *coll_name, TROVE_context_id trove_context) |
| int | translate_bstreams_0_0_1 (char *storage_space, char *old_coll_path, TROVE_coll_id coll_id, char *coll_name, TROVE_context_id trove_context) |
| int | translate_keyval_db_0_0_1 (TROVE_coll_id coll_id, char *full_db_path, TROVE_handle handle, char *coll_name, TROVE_context_id trove_context) |
Variables | |
| int | DEF_KEY_SIZE = 4096 |
| int | DEF_DATA_SIZE = 8192 |
|
|
number of bstream buckets used in DBPF 0.0.1
|
|
|
Value: (((__id << ((sizeof(__id) - 1) * 8)) | __handle) % \ KEYVAL_MAX_NUM_BUCKETS_0_0_1)
|
|
|
number of keyval buckets used in DBPF 0.0.1
|
|
||||||||||||||||
|
< parsed command line options
|
Here is the call graph for this function:

|
|
Prints help for command line arguments.
|
|
||||||||||||||||||||||||
|
Retrieves the version number from a trove collection; will try multiple methods if needed.
|
Here is the call graph for this function:

|
||||||||||||||||||||
|
Reads the version number from a 0.0.1 DBPF collection.
|
|
||||||||||||||||||||
|
Migrates an entire 0.0.1 DBPF collection.
|
Here is the call graph for this function:

|
||||||||||||||||||||||||
|
Migrates bstream files from a 0.0.1 DBPF collection.
|
|
||||||||||||||||||||
|
Migrates collection xattrs from a 0.0.1 DBPF collection.
|
Here is the call graph for this function:

|
||||||||||||||||||||
|
Migrates dspace attrs from a 0.0.1 DBPF collection.
|
Here is the call graph for this function:

|
||||||||||||||||||||||||
|
Migrates a single keyval db from a 0.0.1 DBPF collection.
|
Here is the call graph for this function:

|
||||||||||||||||||||
|
Migrates keyvals from a 0.0.1 DBPF collection.
|
Here is the call graph for this function:

|
|
default size of buffers to use for reading old db values
|
|
|
default size of buffers to use for reading old db keys
|
1.3.5