DAOS API: dfs_attr_t Struct Reference

| DAOS API (v2.1 - dev)

Loading...
Searching...
No Matches
dfs_attr_t Struct Reference

`#include <daos_fs.h>`

## Data Fields
uint64_t | da_id
daos_size_t | da_chunk_size
daos_oclass_id_t | da_oclass_id
daos_prop_t * | da_props
uint32_t | da_mode
daos_oclass_id_t | da_dir_oclass_id
daos_oclass_id_t | da_file_oclass_id
char | da_hints [DAOS_CONT_HINT_MAX_LEN]

## Detailed Description

struct holding attributes for a DFS container - all optional

Definition at line 62 of file daos_fs.h.

## Field Documentation

## ◆ da_chunk_size

daos_size_t da_chunk_size

Default Chunk size for all files in container

Definition at line 66 of file daos_fs.h.

## ◆ da_dir_oclass_id

daos_oclass_id_t da_dir_oclass_id

Default Object Class for all directories in the container

Definition at line 77 of file daos_fs.h.

## ◆ da_file_oclass_id

daos_oclass_id_t da_file_oclass_id

Default Object Class for all files in the container

Definition at line 79 of file daos_fs.h.

## ◆ da_hints

char da_hints[DAOS_CONT_HINT_MAX_LEN]

Comma separated hints for POSIX container creation of the format: "type:hint". examples include: "file:single,dir:max", "directory:single,file:max", etc.

Definition at line 84 of file daos_fs.h.

## ◆ da_id

uint64_t da_id

User ID for DFS container.

Definition at line 64 of file daos_fs.h.

## ◆ da_mode

uint32_t da_mode

Consistency mode for the DFS container: DFS_RELAXED, DFS_BALANCED. If set to 0 or more generally not set to balanced explicitly, relaxed mode will be used

Definition at line 75 of file daos_fs.h.

## ◆ da_oclass_id

daos_oclass_id_t da_oclass_id

Default Object Class for all objects in the container

Definition at line 68 of file daos_fs.h.

## ◆ da_props

daos_prop_t* da_props

DAOS properties on the DFS container

Definition at line 70 of file daos_fs.h.

The documentation for this struct was generated from the following file:

- src/include/daos_fs.h