Home
last modified time | relevance | path

Searched refs:io_trim (Results 1 – 1 of 1) sorted by relevance

/block/
Dblk-throttle.c468 unsigned long nr_slices, time_elapsed, io_trim; in throtl_trim_slice() local
501 io_trim = (tg->iops[rw] * throtl_slice * nr_slices)/HZ; in throtl_trim_slice()
503 if (!bytes_trim && !io_trim) in throtl_trim_slice()
511 if (tg->io_disp[rw] >= io_trim) in throtl_trim_slice()
512 tg->io_disp[rw] -= io_trim; in throtl_trim_slice()
520 rw == READ ? 'R' : 'W', nr_slices, bytes_trim, io_trim, in throtl_trim_slice()