fio_iodimm_format_req2 Struct Reference

Structure representing a request to low-level format an ioDimm. More...

#include <iodimm_types.h>

Data Fields

uint32_t lib_version
fio_iodimm_format_method_t format_method
uint8_t force
uint64_t size_value
fio_iodimm_format_size_mode_t size_mode
uint32_t sector_size_bytes
uint32_t packet_head_bytes
int8_t fixed_percent_limit

Detailed Description

Structure representing a request to low-level format an ioDimm.


Field Documentation

OUTPUT: If status is FIO_IODIMM_FORMAT_FIXED_PCT_VIOLATED, this will be set to the fixed percent the user must choose.

uint8_t force

Advanced use only, for specialized filesystems. This causes the size checks to be overridden and allow the device to be formatted to a larger size than it has available. Set to non-zero to force. Also, if the NV data scan was skipped when the driver loaded a force is required to format BUT the NV data will be erased and the WARRANTY VOIDED!

Format method

uint32_t lib_version

Fusion-io SDK API version (from FIO_STRUCT_INIT)

Future use. Always set to 0.

Setting to non-zero will request that specific sector size.

Device size mode, percent or MiBytes.

uint64_t size_value

Size to format the device. Allowable values depend on the mode selected. If mode is percent then 1-100 is the range of valid values, where 100 is the percent of max_format_size_mibytes, from fio_iodimm_get_format_sizes(). If you specify size in MB (MiBytes), the valid range is 0 to max_format_size_mibytes, and where 0 means 'default_format_size_mibytes'.


The documentation for this struct was generated from the following file:
Generated on Sun Oct 24 15:03:00 2010 for Fusion-io Device Management Public SDK by  doxygen 1.6.3