|
struct spdk_fsdev * | fsdev |
| The filesystem device that this I/O belongs to.
|
|
uint8_t | type |
| Enumerated value representing the I/O type.
|
|
struct iovec | iov |
| A single iovec element for use by this fsdev_io.
|
|
union { | |
|
struct { | |
|
struct spdk_fsdev_file_object * parent_fobject | |
|
char * name | |
|
} lookup | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
uint64_t nlookup | |
|
} forget | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
struct spdk_fsdev_file_handle * fhandle | |
|
} getattr | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
struct spdk_fsdev_file_handle * fhandle | |
|
struct spdk_fsdev_file_attr attr | |
|
uint32_t to_set | |
|
} setattr | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
} readlink | |
|
struct { | |
|
struct spdk_fsdev_file_object * parent_fobject | |
|
char * target | |
|
char * linkpath | |
|
uid_t euid | |
|
gid_t egid | |
|
} symlink | |
|
struct { | |
|
struct spdk_fsdev_file_object * parent_fobject | |
|
char * name | |
|
mode_t mode | |
|
dev_t rdev | |
|
uid_t euid | |
|
gid_t egid | |
|
} mknod | |
|
struct { | |
|
struct spdk_fsdev_file_object * parent_fobject | |
|
char * name | |
|
mode_t mode | |
|
uid_t euid | |
|
gid_t egid | |
|
} mkdir | |
|
struct { | |
|
struct spdk_fsdev_file_object * parent_fobject | |
|
char * name | |
|
} unlink | |
|
struct { | |
|
struct spdk_fsdev_file_object * parent_fobject | |
|
char * name | |
|
} rmdir | |
|
struct { | |
|
struct spdk_fsdev_file_object * parent_fobject | |
|
char * name | |
|
struct spdk_fsdev_file_object * new_parent_fobject | |
|
char * new_name | |
|
uint32_t flags | |
|
} rename | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
struct spdk_fsdev_file_object * new_parent_fobject | |
|
char * name | |
|
} link | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
uint32_t flags | |
|
} open | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
struct spdk_fsdev_file_handle * fhandle | |
|
size_t size | |
|
uint64_t offs | |
|
uint32_t flags | |
|
struct iovec * iov | |
|
uint32_t iovcnt | |
|
struct spdk_fsdev_io_opts * opts | |
|
} read | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
struct spdk_fsdev_file_handle * fhandle | |
|
size_t size | |
|
uint64_t offs | |
|
uint64_t flags | |
|
const struct iovec * iov | |
|
uint32_t iovcnt | |
|
struct spdk_fsdev_io_opts * opts | |
|
} write | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
} statfs | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
struct spdk_fsdev_file_handle * fhandle | |
|
} release | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
struct spdk_fsdev_file_handle * fhandle | |
|
bool datasync | |
|
} fsync | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
char * name | |
|
char * value | |
|
size_t size | |
|
uint32_t flags | |
|
} setxattr | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
char * name | |
|
void * buffer | |
|
size_t size | |
|
} getxattr | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
char * buffer | |
|
size_t size | |
|
} listxattr | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
char * name | |
|
} removexattr | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
struct spdk_fsdev_file_handle * fhandle | |
|
} flush | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
uint32_t flags | |
|
} opendir | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
struct spdk_fsdev_file_handle * fhandle | |
|
uint64_t offset | |
|
int(* entry_cb_fn )(struct spdk_fsdev_io
*fsdev_io, void *cb_arg) | |
|
spdk_fsdev_readdir_entry_cb * usr_entry_cb_fn | |
|
} readdir | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
struct spdk_fsdev_file_handle * fhandle | |
|
} releasedir | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
struct spdk_fsdev_file_handle * fhandle | |
|
bool datasync | |
|
} fsyncdir | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
struct spdk_fsdev_file_handle * fhandle | |
|
int operation | |
|
} flock | |
|
struct { | |
|
struct spdk_fsdev_file_object * parent_fobject | |
|
char * name | |
|
mode_t mode | |
|
uint32_t flags | |
|
mode_t umask | |
|
uid_t euid | |
|
gid_t egid | |
|
} create | |
|
struct { | |
|
uint64_t unique_to_abort | |
|
} abort | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
struct spdk_fsdev_file_handle * fhandle | |
|
int mode | |
|
off_t offset | |
|
off_t length | |
|
} fallocate | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject_in | |
|
struct spdk_fsdev_file_handle * fhandle_in | |
|
off_t off_in | |
|
struct spdk_fsdev_file_object * fobject_out | |
|
struct spdk_fsdev_file_handle * fhandle_out | |
|
off_t off_out | |
|
size_t len | |
|
uint32_t flags | |
|
} copy_file_range | |
|
} | u_in | |
|
union { | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
struct spdk_fsdev_file_attr attr | |
|
} lookup | |
|
struct { | |
|
struct spdk_fsdev_file_attr attr | |
|
} getattr | |
|
struct { | |
|
struct spdk_fsdev_file_attr attr | |
|
} setattr | |
|
struct { | |
|
char * linkname | |
|
} readlink | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
struct spdk_fsdev_file_attr attr | |
|
} symlink | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
struct spdk_fsdev_file_attr attr | |
|
} mknod | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
struct spdk_fsdev_file_attr attr | |
|
} mkdir | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
struct spdk_fsdev_file_attr attr | |
|
} link | |
|
struct { | |
|
struct spdk_fsdev_file_handle * fhandle | |
|
} open | |
|
struct { | |
|
uint32_t data_size | |
|
} read | |
|
struct { | |
|
uint32_t data_size | |
|
} write | |
|
struct { | |
|
struct spdk_fsdev_file_statfs statfs | |
|
} statfs | |
|
struct { | |
|
size_t value_size | |
|
} getxattr | |
|
struct { | |
|
size_t data_size | |
|
bool size_only | |
|
} listxattr | |
|
struct { | |
|
struct spdk_fsdev_file_handle * fhandle | |
|
} opendir | |
|
struct { | |
|
const char * name | |
|
struct spdk_fsdev_file_object * fobject | |
|
struct spdk_fsdev_file_attr attr | |
|
off_t offset | |
|
} readdir | |
|
struct { | |
|
struct spdk_fsdev_file_object * fobject | |
|
struct spdk_fsdev_file_handle * fhandle | |
|
struct spdk_fsdev_file_attr attr | |
|
} create | |
|
struct { | |
|
size_t data_size | |
|
} copy_file_range | |
|
} | u_out | |
|
struct spdk_fsdev_io::__fsdev_io_internal_fields | internal |
|
uint8_t | driver_ctx [0] |
| Per I/O context for use by the fsdev module.
|
|