SIONlib
1.7.7
Scalable I/O library for parallel access to task-local files
|
Go to the source code of this file.
Macros | |
#define | SION_ID "sion" |
Functions | |
int | _sion_write_header (_sion_filedesc *sion_filedesc) |
Write the SION Meta Block 1. More... | |
int | _sion_write_header_var_info (_sion_filedesc *sion_filedesc) |
Write the SION Meta Block 1. More... | |
int | _sion_write_header_var_part_blocksizes (_sion_filedesc *sion_filedesc) |
Write the SION Meta Block 2. More... | |
int | _sion_write_header_var_part_mapping (_sion_filedesc *sion_filedesc, sion_int32 mapping_size, sion_int32 *mapping) |
Write mapping into the SION Meta Block 2. More... | |
int | _sion_read_header_fix_part (_sion_filedesc *sion_filedesc) |
Read part of the SION Meta Block 1. More... | |
int | _sion_read_header_var_part (_sion_filedesc *sion_filedesc) |
Read the second part of SION Meta Block 1. More... | |
int | _sion_read_header_var_part_blocksizes (_sion_filedesc *sion_filedesc) |
Read the SION Meta Block 2. More... | |
int | _sion_read_header_var_part_blocksizes_rank (_sion_filedesc *sion_filedesc) |
Read the SION Meta Block 2. More... | |
int | _sion_read_header_var_part_mapping (_sion_filedesc *sion_filedesc) |
Read the mapping data at end of SION Meta Block 2. More... | |
int | _sion_read_header_var_part_mapping_rank (_sion_filedesc *sion_filedesc) |
Read the mapping data at end of SION Meta Block 2. More... | |
int | _sion_write_header_var_part_blockcount_from_field (_sion_filedesc *sion_filedesc, int field_size, sion_int64 *field) |
Write the block sizes from Meta Block 2. More... | |
int | _sion_write_header_var_part_nextblocksizes_from_field (_sion_filedesc *sion_filedesc, int field_size, sion_int64 *field) |
Write the next set of blocksizes from Meta Block 2 Assuming that filepointer is at the correct position. More... | |
int | _sion_read_header_var_part_blockcount_to_field (_sion_filedesc *sion_filedesc, int field_size, sion_int64 *field) |
Read the block sizes from Meta Block 2. More... | |
int | _sion_read_header_var_part_nextblocksizes_to_field (_sion_filedesc *sion_filedesc, int field_size, sion_int64 *field) |
Read the next set of blocksizes from Meta Block 2 Assuming that filepointer is at the correct position. More... | |
example meta data format
Definition in file sion_metadata.h.
#define SION_ID "sion" |
Sion identification string (offset: 0x00)
Definition at line 14 of file sion_metadata.h.
int _sion_read_header_fix_part | ( | _sion_filedesc * | sion_filedesc | ) |
Read part of the SION Meta Block 1.
*sion_filedesc | pointer to internal data structure, contaiing all meta data |
SION_SUCESS | if okay |
Definition at line 317 of file sion_metadata.c.
int _sion_read_header_var_part | ( | _sion_filedesc * | sion_filedesc | ) |
Read the second part of SION Meta Block 1.
*sion_filedesc | pointer to internal data structure, containing all meta data |
SION_SUCESS | if okay |
Definition at line 503 of file sion_metadata.c.
int _sion_read_header_var_part_blockcount_to_field | ( | _sion_filedesc * | sion_filedesc, |
int | field_size, | ||
sion_int64 * | field | ||
) |
Read the block sizes from Meta Block 2.
*sion_filedesc | pointer to internal data structure, contaiing all meta data |
field_size | size of field |
field | field where blocksizes will be stored |
SION_SUCESS | if okay |
Definition at line 566 of file sion_metadata.c.
int _sion_read_header_var_part_blocksizes | ( | _sion_filedesc * | sion_filedesc | ) |
Read the SION Meta Block 2.
*sion_filedesc | pointer to internal data structure, contaiing all meta data |
SION_SUCESS | if okay |
Definition at line 641 of file sion_metadata.c.
int _sion_read_header_var_part_blocksizes_rank | ( | _sion_filedesc * | sion_filedesc | ) |
Read the SION Meta Block 2.
*sion_filedesc | pointer to internal data structure, contaiing all meta data |
SION_SUCESS | if okay |
Definition at line 743 of file sion_metadata.c.
int _sion_read_header_var_part_mapping | ( | _sion_filedesc * | sion_filedesc | ) |
Read the mapping data at end of SION Meta Block 2.
*sion_filedesc | pointer to internal data structure, contaiing all meta data |
file pointer will be set to the correct position
SION_SUCESS | if okay |
Definition at line 689 of file sion_metadata.c.
int _sion_read_header_var_part_mapping_rank | ( | _sion_filedesc * | sion_filedesc | ) |
Read the mapping data at end of SION Meta Block 2.
*sion_filedesc | pointer to internal data structure, contaiing all meta data |
file pointer will be set to the correct position
SION_SUCESS | if okay |
Definition at line 801 of file sion_metadata.c.
int _sion_read_header_var_part_nextblocksizes_to_field | ( | _sion_filedesc * | sion_filedesc, |
int | field_size, | ||
sion_int64 * | field | ||
) |
Read the next set of blocksizes from Meta Block 2 Assuming that filepointer is at the correct position.
*sion_filedesc | pointer to internal data structure, contaiing all meta data |
field_size | size of field |
field | field where blocksizes will be stored |
SION_SUCESS | if okay |
Definition at line 607 of file sion_metadata.c.
int _sion_write_header | ( | _sion_filedesc * | sion_filedesc | ) |
Write the SION Meta Block 1.
*sion_filedesc | pointer to internal data structure, contaiing all meta data |
SION_SUCESS | if okay |
Definition at line 38 of file sion_metadata.c.
int _sion_write_header_var_info | ( | _sion_filedesc * | sion_filedesc | ) |
Write the SION Meta Block 1.
*sion_filedesc | pointer to internal data structure, containing all meta data |
SION_SUCESS | if okay |
Definition at line 184 of file sion_metadata.c.
int _sion_write_header_var_part_blockcount_from_field | ( | _sion_filedesc * | sion_filedesc, |
int | field_size, | ||
sion_int64 * | field | ||
) |
Write the block sizes from Meta Block 2.
*sion_filedesc | pointer to internal data structure, contaiing all meta data |
field_size | size of field |
field | field where blocksizes will be stored |
SION_SUCESS | if okay |
Definition at line 876 of file sion_metadata.c.
int _sion_write_header_var_part_blocksizes | ( | _sion_filedesc * | sion_filedesc | ) |
Write the SION Meta Block 2.
*sion_filedesc | pointer to internal data structure, containing all meta data |
SION_SUCESS | if okay |
Definition at line 223 of file sion_metadata.c.
int _sion_write_header_var_part_mapping | ( | _sion_filedesc * | sion_filedesc, |
sion_int32 | mapping_size, | ||
sion_int32 * | mapping | ||
) |
Write mapping into the SION Meta Block 2.
*sion_filedesc | pointer to internal data structure, containing all meta data |
*mapping_size | number of tasks in map |
*mapping | pointer to map |
SION_SUCESS | if okay |
Definition at line 264 of file sion_metadata.c.
int _sion_write_header_var_part_nextblocksizes_from_field | ( | _sion_filedesc * | sion_filedesc, |
int | field_size, | ||
sion_int64 * | field | ||
) |
Write the next set of blocksizes from Meta Block 2 Assuming that filepointer is at the correct position.
*sion_filedesc | pointer to internal data structure, contaiing all meta data |
field_size | size of field |
field | field where blocksizes will be stored |
SION_SUCESS | if okay |
Definition at line 916 of file sion_metadata.c.