Searched refs:DDIR_WRITE (Results 1 - 25 of 27) sorted by relevance

12

/external/fio/
H A Dio_ddir.h6 DDIR_WRITE = 1, enumerator in enum:fio_ddir
43 return ddir == DDIR_READ || ddir == DDIR_WRITE || ddir == DDIR_TRIM;
58 ((arr)[DDIR_READ] + (arr)[DDIR_WRITE] + (arr)[DDIR_TRIM])
H A Deta.c39 else if (td->o.rwmix[DDIR_WRITE] == 100)
46 else if (td->o.rwmix[DDIR_WRITE] == 100)
165 if (td->o.rwmix[DDIR_WRITE])
166 perc = td->o.rwmix[DDIR_WRITE];
336 io_bytes[DDIR_READ] = io_bytes[DDIR_WRITE] = io_bytes[DDIR_TRIM] = 0;
337 io_iops[DDIR_READ] = io_iops[DDIR_WRITE] = io_iops[DDIR_TRIM] = 0;
359 je->t_rate[1] += td->o.rate[DDIR_WRITE];
360 je->t_iops[1] += td->o.rate_iops[DDIR_WRITE];
361 je->m_rate[1] += td->o.ratemin[DDIR_WRITE];
362 je->m_iops[1] += td->o.rate_iops_min[DDIR_WRITE];
[all...]
H A Dinit.c419 if (td->o.rate[DDIR_WRITE] || td->o.rate_iops[DDIR_WRITE])
420 ret |= __setup_rate(td, DDIR_WRITE);
430 o->min_bs[DDIR_WRITE] == o->max_bs[DDIR_WRITE] &&
432 o->min_bs[DDIR_READ] == o->min_bs[DDIR_WRITE] &&
505 if (!o->min_bs[DDIR_WRITE])
506 o->min_bs[DDIR_WRITE] = o->bs[DDIR_WRITE];
507 if (!o->max_bs[DDIR_WRITE])
[all...]
H A Dblktrace.c248 ipo->ddir = DDIR_WRITE;
287 ios[DDIR_WRITE]++;
492 if (!ios[DDIR_READ] && !ios[DDIR_WRITE]) {
498 } else if (!ios[DDIR_READ] && ios[DDIR_WRITE]) {
500 td->o.max_bs[DDIR_WRITE] = rw_bs[DDIR_WRITE];
504 td->o.max_bs[DDIR_WRITE] = rw_bs[DDIR_WRITE];
H A Dbackend.c235 if (bytes_done[DDIR_WRITE])
236 ret |= __check_min_rate(td, now, DDIR_WRITE);
512 } else if (io_u->ddir == DDIR_WRITE) {
651 bytes = td->this_io_bytes[DDIR_READ] + td->this_io_bytes[DDIR_WRITE];
653 bytes = td->this_io_bytes[DDIR_WRITE];
772 if (td_write(td) && io_u->ddir == DDIR_WRITE &&
817 __should_check_rate(td, DDIR_WRITE) ||
870 __should_check_rate(td, DDIR_WRITE) ||
956 return bytes_done[DDIR_WRITE] + bytes_done[DDIR_TRIM];
988 min_write = td->o.min_bs[DDIR_WRITE];
[all...]
H A Dfio.h403 assert(!(io_u->ddir == DDIR_WRITE && !td_write(td)));
567 if (bytes_done[DDIR_WRITE])
568 ret |= __should_check_rate(td, DDIR_WRITE);
579 max_bs = max(td->o.max_bs[DDIR_READ], td->o.max_bs[DDIR_WRITE]);
587 min_bs = min(td->o.min_bs[DDIR_READ], td->o.min_bs[DDIR_WRITE]);
H A Dio_u.c432 ddir = is_random ? DDIR_WRITE: DDIR_READ;
531 return DDIR_WRITE;
619 !(td->io_issues[DDIR_WRITE] % td->o.fsync_blocks) &&
620 td->io_issues[DDIR_WRITE] && should_fsync(td))
627 !(td->io_issues[DDIR_WRITE] % td->o.fdatasync_blocks) &&
628 td->io_issues[DDIR_WRITE] && should_fsync(td))
635 !(td->io_issues[DDIR_WRITE] % td->sync_file_range_nr) &&
636 td->io_issues[DDIR_WRITE] && should_fsync(td))
660 ddir = DDIR_WRITE;
672 if (io_u->ddir == DDIR_WRITE
[all...]
H A Dstat.c509 if (!(ts->io_bytes[DDIR_READ] + ts->io_bytes[DDIR_WRITE] +
511 ts->total_io_u[DDIR_WRITE] + ts->total_io_u[DDIR_TRIM]))
533 if (ts->io_bytes[DDIR_WRITE])
534 show_ddir_status(rs, ts, DDIR_WRITE);
792 show_ddir_status_terse(ts, rs, DDIR_WRITE);
855 show_ddir_status_terse(ts, rs, DDIR_WRITE);
924 add_ddir_status_json(ts, rs, DDIR_WRITE, root);
1428 if (td_write(td) && td->io_bytes[DDIR_WRITE])
1429 td->ts.runtime[DDIR_WRITE] += rt[i];
1435 td->ts.io_bytes[DDIR_WRITE]
[all...]
H A Doptions.c195 ret = bssplit_ddir(&td->o, DDIR_WRITE, odir + 1);
204 ret = bssplit_ddir(&td->o, DDIR_WRITE, op);
380 td->o.rwmix[DDIR_WRITE] = 100 - *val;
388 td->o.rwmix[DDIR_WRITE] = *val;
1687 .off2 = td_var_offset(bs[DDIR_WRITE]),
1704 .off2 = td_var_offset(ba[DDIR_WRITE]),
1721 .off3 = td_var_offset(min_bs[DDIR_WRITE]),
1722 .off4 = td_var_offset(max_bs[DDIR_WRITE]),
1873 .off2 = td_var_offset(perc_rand[DDIR_WRITE]),
2754 .off2 = td_var_offset(rate[DDIR_WRITE]),
[all...]
H A Diolog.c346 rw = DDIR_WRITE;
383 else if (rw == DDIR_WRITE) {
H A Dfilesetup.c139 b = malloc(td->o.max_bs[DDIR_WRITE]);
143 bs = td->o.max_bs[DDIR_WRITE];
995 range_size = min(td->o.min_bs[DDIR_READ], td->o.min_bs[DDIR_WRITE]);
/external/fio/engines/
H A Dfalloc.c7 * DDIR_WRITE does fallocate(,mode = 0) : fallocate with size extension
83 else if (io_u->ddir == DDIR_WRITE)
H A Dguasi.c68 io_u->ddir == DDIR_WRITE) {
166 else if (io_u->ddir == DDIR_WRITE)
H A Dsync.c87 else if (io_u->ddir == DDIR_WRITE)
108 else if (io_u->ddir == DDIR_WRITE)
128 else if (io_u->ddir == DDIR_WRITE)
H A Dfusion-aw.c42 if (io_u->ddir != DDIR_WRITE) {
H A Dnet.c243 if ((o->listen && io_u->ddir == DDIR_WRITE) ||
413 if ((td->this_io_bytes[DDIR_WRITE] + io_u->xfer_buflen <
502 if (ddir == DDIR_WRITE) {
525 if (ddir == DDIR_WRITE && err == EMSGSIZE)
553 ret = __fio_netio_queue(td, io_u, DDIR_WRITE);
554 else if (td_write(td) && io_u->ddir == DDIR_WRITE)
H A De4defrag.c144 * changes data layout. So this function handle only DDIR_WRITE
147 if (io_u->ddir != DDIR_WRITE) {
H A Dmmap.c150 else if (io_u->ddir == DDIR_WRITE)
H A Dposixaio.c180 else if (io_u->ddir == DDIR_WRITE)
H A Dsplice.c222 } else if (io_u->ddir == DDIR_WRITE)
H A Dlibaio.c50 else if (io_u->ddir == DDIR_WRITE)
H A Drbd.c244 if (io_u->ddir == DDIR_WRITE) {
251 ("rbd_aio_create_completion for DDIR_WRITE failed.\n");
H A Dbinject.c200 } else if (io_u->ddir == DDIR_WRITE) {
H A Dsg.c220 } else if (io_u->ddir == DDIR_WRITE) {
H A Dwindowsaio.c324 case DDIR_WRITE:

Completed in 767 milliseconds

12