Struct fio_ioengine_sys::thread_data[][src]

#[repr(C)]
pub struct thread_data {
Show fields pub opt_list: flist_head, pub flags: c_ulong, pub o: thread_options, pub eo: *mut c_void, pub thread: pthread_t, pub thread_number: c_uint, pub subjob_number: c_uint, pub groupid: c_uint, pub ts: thread_stat, pub client_type: c_int, pub slat_log: *mut io_log, pub clat_log: *mut io_log, pub clat_hist_log: *mut io_log, pub lat_log: *mut io_log, pub bw_log: *mut io_log, pub iops_log: *mut io_log, pub log_compress_wq: workqueue, pub parent: *mut thread_data, pub stat_io_bytes: [u64; 3], pub bw_sample_time: timespec, pub stat_io_blocks: [u64; 3], pub iops_sample_time: timespec, pub update_rusage: c_int, pub rusage_sem: *mut fio_sem, pub ru_start: rusage, pub ru_end: rusage, pub files: *mut *mut fio_file, pub file_locks: *mut c_uchar, pub files_size: c_uint, pub files_index: c_uint, pub nr_open_files: c_uint, pub nr_done_files: c_uint, pub __bindgen_anon_1: thread_data__bindgen_ty_1, pub __bindgen_anon_2: thread_data__bindgen_ty_2, pub __bindgen_anon_3: thread_data__bindgen_ty_3, pub random_center: f64, pub error: c_int, pub sig: c_int, pub done: c_int, pub stop_io: c_int, pub pid: pid_t, pub orig_buffer: *mut c_char, pub orig_buffer_size: size_t, pub runstate: c_int, pub terminate: bool, pub last_was_sync: bool, pub last_ddir: fio_ddir, pub mmapfd: c_int, pub iolog_buf: *mut c_void, pub iolog_f: *mut FILE, pub rand_seeds: [u64; 20], pub bsrange_state: [frand_state; 3], pub verify_state: frand_state, pub trim_state: frand_state, pub delay_state: frand_state, pub buf_state: frand_state, pub buf_state_prev: frand_state, pub dedupe_state: frand_state, pub zone_state: frand_state, pub prio_state: frand_state, pub zone_state_index: *mut *mut zone_split_index, pub num_open_zones: c_uint, pub verify_batch: c_uint, pub trim_batch: c_uint, pub vstate: *mut thread_io_list, pub shm_id: c_int, pub io_ops: *mut ioengine_ops, pub io_ops_init: c_int, pub io_ops_data: *mut c_void, pub cur_depth: c_uint, pub io_u_queued: c_uint, pub io_u_in_flight: c_uint, pub io_u_requeues: io_u_ring, pub io_u_freelist: io_u_queue, pub io_u_all: io_u_queue, pub io_u_lock: pthread_mutex_t, pub free_cond: pthread_cond_t, pub verify_list: flist_head, pub verify_threads: *mut pthread_t, pub nr_verify_threads: c_uint, pub verify_cond: pthread_cond_t, pub verify_thread_exit: c_int, pub rate_bps: [u64; 3], pub rate_next_io_time: [u64; 3], pub rate_bytes: [c_ulonglong; 3], pub rate_blocks: [c_ulong; 3], pub rate_io_issue_bytes: [c_ulonglong; 3], pub lastrate: [timespec; 3], pub last_usec: [i64; 3], pub poisson_state: [frand_state; 3], pub io_wq: workqueue, pub total_io_size: u64, pub fill_device_size: u64, pub io_issues: [u64; 3], pub io_issue_bytes: [u64; 3], pub loops: u64, pub io_blocks: [u64; 3], pub this_io_blocks: [u64; 3], pub io_bytes: [u64; 3], pub this_io_bytes: [u64; 3], pub io_skip_bytes: u64, pub zone_bytes: u64, pub sem: *mut fio_sem, pub bytes_done: [u64; 3], pub thinktime_blocks_counter: *mut u64, pub random_state: frand_state, pub start: timespec, pub epoch: timespec, pub unix_epoch: c_ulonglong, pub last_issue: timespec, pub time_offset: c_long, pub ts_cache: timespec, pub terminate_time: timespec, pub ts_cache_nr: c_uint, pub ts_cache_mask: c_uint, pub ramp_time_over: bool, pub latency_ts: timespec, pub latency_qd: c_uint, pub latency_qd_high: c_uint, pub latency_qd_low: c_uint, pub latency_failed: c_uint, pub latency_stable_count: c_uint, pub latency_ios: u64, pub latency_end_run: c_int, pub rwmix_state: frand_state, pub rwmix_issues: c_ulong, pub rwmix_ddir: fio_ddir, pub ddir_seq_nr: c_uint, pub seq_rand_state: [frand_state; 3], pub io_hist_tree: rb_root, pub io_hist_list: flist_head, pub io_hist_len: c_ulong, pub io_log_list: flist_head, pub io_log_rfile: *mut FILE, pub io_log_current: c_uint, pub io_log_checkmark: c_uint, pub io_log_highmark: c_uint, pub io_log_highmark_time: timespec, pub trim_list: flist_head, pub trim_entries: c_ulong, pub file_service_nr: c_uint, pub file_service_left: c_uint, pub file_service_file: *mut fio_file, pub sync_file_range_nr: c_uint, pub file_size_state: frand_state, pub total_err_count: c_uint, pub first_error: c_int, pub flow: *mut fio_flow, pub flow_counter: c_ulonglong, pub prof_io_ops: prof_io_ops, pub prof_data: *mut c_void, pub pinned_mem: *mut c_void, pub ss: steadystate_data, pub verror: [c_char; 128],
}

Fields

opt_list: flist_headflags: c_ulongo: thread_optionseo: *mut c_voidthread: pthread_tthread_number: c_uintsubjob_number: c_uintgroupid: c_uintts: thread_statclient_type: c_intslat_log: *mut io_logclat_log: *mut io_logclat_hist_log: *mut io_loglat_log: *mut io_logbw_log: *mut io_logiops_log: *mut io_loglog_compress_wq: workqueueparent: *mut thread_datastat_io_bytes: [u64; 3]bw_sample_time: timespecstat_io_blocks: [u64; 3]iops_sample_time: timespecupdate_rusage: c_intrusage_sem: *mut fio_semru_start: rusageru_end: rusagefiles: *mut *mut fio_filefile_locks: *mut c_ucharfiles_size: c_uintfiles_index: c_uintnr_open_files: c_uintnr_done_files: c_uint__bindgen_anon_1: thread_data__bindgen_ty_1__bindgen_anon_2: thread_data__bindgen_ty_2__bindgen_anon_3: thread_data__bindgen_ty_3random_center: f64error: c_intsig: c_intdone: c_intstop_io: c_intpid: pid_torig_buffer: *mut c_charorig_buffer_size: size_trunstate: c_intterminate: boollast_was_sync: boollast_ddir: fio_ddirmmapfd: c_intiolog_buf: *mut c_voidiolog_f: *mut FILErand_seeds: [u64; 20]bsrange_state: [frand_state; 3]verify_state: frand_statetrim_state: frand_statedelay_state: frand_statebuf_state: frand_statebuf_state_prev: frand_statededupe_state: frand_statezone_state: frand_stateprio_state: frand_statezone_state_index: *mut *mut zone_split_indexnum_open_zones: c_uintverify_batch: c_uinttrim_batch: c_uintvstate: *mut thread_io_listshm_id: c_intio_ops: *mut ioengine_opsio_ops_init: c_intio_ops_data: *mut c_voidcur_depth: c_uintio_u_queued: c_uintio_u_in_flight: c_uintio_u_requeues: io_u_ringio_u_freelist: io_u_queueio_u_all: io_u_queueio_u_lock: pthread_mutex_tfree_cond: pthread_cond_tverify_list: flist_headverify_threads: *mut pthread_tnr_verify_threads: c_uintverify_cond: pthread_cond_tverify_thread_exit: c_intrate_bps: [u64; 3]rate_next_io_time: [u64; 3]rate_bytes: [c_ulonglong; 3]rate_blocks: [c_ulong; 3]rate_io_issue_bytes: [c_ulonglong; 3]lastrate: [timespec; 3]last_usec: [i64; 3]poisson_state: [frand_state; 3]io_wq: workqueuetotal_io_size: u64fill_device_size: u64io_issues: [u64; 3]io_issue_bytes: [u64; 3]loops: u64io_blocks: [u64; 3]this_io_blocks: [u64; 3]io_bytes: [u64; 3]this_io_bytes: [u64; 3]io_skip_bytes: u64zone_bytes: u64sem: *mut fio_sembytes_done: [u64; 3]thinktime_blocks_counter: *mut u64random_state: frand_statestart: timespecepoch: timespecunix_epoch: c_ulonglonglast_issue: timespectime_offset: c_longts_cache: timespecterminate_time: timespects_cache_nr: c_uintts_cache_mask: c_uintramp_time_over: boollatency_ts: timespeclatency_qd: c_uintlatency_qd_high: c_uintlatency_qd_low: c_uintlatency_failed: c_uintlatency_stable_count: c_uintlatency_ios: u64latency_end_run: c_intrwmix_state: frand_staterwmix_issues: c_ulongrwmix_ddir: fio_ddirddir_seq_nr: c_uintseq_rand_state: [frand_state; 3]io_hist_tree: rb_rootio_hist_list: flist_headio_hist_len: c_ulongio_log_list: flist_headio_log_rfile: *mut FILEio_log_current: c_uintio_log_checkmark: c_uintio_log_highmark: c_uintio_log_highmark_time: timespectrim_list: flist_headtrim_entries: c_ulongfile_service_nr: c_uintfile_service_left: c_uintfile_service_file: *mut fio_filesync_file_range_nr: c_uintfile_size_state: frand_statetotal_err_count: c_uintfirst_error: c_intflow: *mut fio_flowflow_counter: c_ulonglongprof_io_ops: prof_io_opsprof_data: *mut c_voidpinned_mem: *mut c_voidss: steadystate_dataverror: [c_char; 128]

Trait Implementations

impl Clone for thread_data[src]

fn clone(&self) -> thread_data[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for thread_data[src]

Auto Trait Implementations

impl !Send for thread_data

impl !Sync for thread_data

impl Unpin for thread_data

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.