/external/fio/ |
D | io_ddir.h | 7 DDIR_TRIM = 2, enumerator 43 return ddir == DDIR_READ || ddir == DDIR_WRITE || ddir == DDIR_TRIM; in ddir_rw() 55 #define ddir_trim(ddir) ((ddir) == DDIR_TRIM) 58 ((arr)[DDIR_READ] + (arr)[DDIR_WRITE] + (arr)[DDIR_TRIM])
|
D | init.c | 421 if (td->o.rate[DDIR_TRIM] || td->o.rate_iops[DDIR_TRIM]) in setup_rate() 422 ret |= __setup_rate(td, DDIR_TRIM); in setup_rate() 431 o->min_bs[DDIR_TRIM] == o->max_bs[DDIR_TRIM] && in fixed_block_size() 433 o->min_bs[DDIR_READ] == o->min_bs[DDIR_TRIM]; in fixed_block_size() 509 if (!o->min_bs[DDIR_TRIM]) in fixup_options() 510 o->min_bs[DDIR_TRIM] = o->bs[DDIR_TRIM]; in fixup_options() 511 if (!o->max_bs[DDIR_TRIM]) in fixup_options() 512 o->max_bs[DDIR_TRIM] = o->bs[DDIR_TRIM]; in fixup_options() 516 o->rw_min_bs = min(o->min_bs[DDIR_TRIM], o->rw_min_bs); in fixup_options() 525 if (!o->ba[DDIR_TRIM] || !td_random(td)) in fixup_options() [all …]
|
D | eta.c | 336 io_bytes[DDIR_READ] = io_bytes[DDIR_WRITE] = io_bytes[DDIR_TRIM] = 0; in calc_thread_status() 337 io_iops[DDIR_READ] = io_iops[DDIR_WRITE] = io_iops[DDIR_TRIM] = 0; in calc_thread_status() 365 je->t_rate[2] += td->o.rate[DDIR_TRIM]; in calc_thread_status() 366 je->t_iops[2] += td->o.rate_iops[DDIR_TRIM]; in calc_thread_status() 367 je->m_rate[2] += td->o.ratemin[DDIR_TRIM]; in calc_thread_status() 368 je->m_iops[2] += td->o.rate_iops_min[DDIR_TRIM]; in calc_thread_status() 429 add_agg_sample(je->rate[DDIR_TRIM], DDIR_TRIM, 0); in calc_thread_status() 518 rate_str[DDIR_WRITE], rate_str[DDIR_TRIM], in display_thread_status() 520 iops_str[DDIR_TRIM], eta_str); in display_thread_status()
|
D | backend.c | 237 if (bytes_done[DDIR_TRIM]) in check_min_rate() 238 ret |= __check_min_rate(td, now, DDIR_TRIM); in check_min_rate() 508 } else if (io_u->ddir == DDIR_TRIM) { in do_verify() 657 bytes = td->this_io_bytes[DDIR_TRIM]; in io_bytes_exceeded() 818 __should_check_rate(td, DDIR_TRIM)) in do_io() 871 __should_check_rate(td, DDIR_TRIM)) in do_io() 956 return bytes_done[DDIR_WRITE] + bytes_done[DDIR_TRIM]; in do_io() 1251 return bytes_done[DDIR_WRITE] + bytes_done[DDIR_TRIM]; in do_dry_run() 1465 o->ratemin[DDIR_TRIM]) { in thread_main() 1470 memcpy(&td->lastrate[DDIR_TRIM], &td->bw_sample_time, in thread_main() [all …]
|
D | fio.h | 569 if (bytes_done[DDIR_TRIM]) in should_check_rate() 570 ret |= __should_check_rate(td, DDIR_TRIM); in should_check_rate() 580 return max(td->o.max_bs[DDIR_TRIM], max_bs); in td_max_bs() 588 return min(td->o.min_bs[DDIR_TRIM], min_bs); in td_min_bs()
|
D | stat.c | 510 ts->io_bytes[DDIR_TRIM]) && !(ts->total_io_u[DDIR_READ] + in show_thread_status_normal() 511 ts->total_io_u[DDIR_WRITE] + ts->total_io_u[DDIR_TRIM])) in show_thread_status_normal() 535 if (ts->io_bytes[DDIR_TRIM]) in show_thread_status_normal() 536 show_ddir_status(rs, ts, DDIR_TRIM); in show_thread_status_normal() 794 show_ddir_status_terse(ts, rs, DDIR_TRIM); in show_thread_status_terse_v2() 858 show_ddir_status_terse(ts, rs, DDIR_TRIM); in show_thread_status_terse_v3_v4() 925 add_ddir_status_json(ts, rs, DDIR_TRIM, root); in show_thread_status_json() 1430 if (td_trim(td) && td->io_bytes[DDIR_TRIM]) in __show_running_run_stats() 1431 td->ts.runtime[DDIR_TRIM] += rt[i]; in __show_running_run_stats() 1436 td->ts.io_bytes[DDIR_TRIM] = td->io_bytes[DDIR_TRIM]; in __show_running_run_stats() [all …]
|
D | trim.c | 62 io_u->ddir = DDIR_TRIM; in get_next_trim()
|
D | options.c | 183 ret = bssplit_ddir(&td->o, DDIR_TRIM, ddir + 1); in str_bssplit_cb() 190 ret = bssplit_ddir(&td->o, DDIR_TRIM, op); in str_bssplit_cb() 209 ret = bssplit_ddir(&td->o, DDIR_TRIM, op); in str_bssplit_cb() 1688 .off3 = td_var_offset(bs[DDIR_TRIM]), 1705 .off3 = td_var_offset(ba[DDIR_TRIM]), 1723 .off5 = td_var_offset(min_bs[DDIR_TRIM]), 1724 .off6 = td_var_offset(max_bs[DDIR_TRIM]), 1874 .off3 = td_var_offset(perc_rand[DDIR_TRIM]), 2755 .off3 = td_var_offset(rate[DDIR_TRIM]), 2766 .off3 = td_var_offset(ratemin[DDIR_TRIM]), [all …]
|
D | blktrace.c | 299 ipo->ddir = DDIR_TRIM; in handle_trace_discard()
|
D | iolog.c | 352 rw = DDIR_TRIM; in read_iolog2()
|
D | io_u.c | 662 ddir = DDIR_TRIM; in get_rw_ddir() 1685 if (idx != DDIR_TRIM && __should_check_rate(td, odx)) in io_completed()
|
D | HOWTO | 677 DDIR_TRIM does fallocate(,mode = punch_hole)
|
/external/fio/engines/ |
D | sync.c | 89 else if (io_u->ddir == DDIR_TRIM) { in fio_pvsyncio_queue() 110 else if (io_u->ddir == DDIR_TRIM) { in fio_psyncio_queue() 130 else if (io_u->ddir == DDIR_TRIM) { in fio_syncio_queue()
|
D | falloc.c | 85 else if (io_u->ddir == DDIR_TRIM) in fio_fallocate_queue()
|
D | mmap.c | 157 } else if (io_u->ddir == DDIR_TRIM) { in fio_mmapio_queue()
|
D | posixaio.c | 182 else if (io_u->ddir == DDIR_TRIM) { in fio_posixaio_queue()
|
D | splice.c | 224 else if (io_u->ddir == DDIR_TRIM) in fio_spliceio_queue()
|
D | libaio.c | 170 if (io_u->ddir == DDIR_TRIM) { in fio_libaio_queue()
|
D | binject.c | 206 } else if (io_u->ddir == DDIR_TRIM) { in fio_binject_prep()
|
D | windowsaio.c | 341 case DDIR_TRIM: in fio_windowsaio_queue()
|