Searched refs:io_period (Results 1 - 2 of 2) sorted by relevance

/linux-master/include/linux/
H A Ddm-kcopyd.h29 unsigned int io_period; member in struct:dm_kcopyd_throttle
/linux-master/drivers/md/
H A Ddm-kcopyd.c143 t->io_period += difference;
149 if (unlikely(t->io_period > t->total_period))
150 t->io_period = t->total_period;
156 t->io_period >>= shift;
159 skew = t->io_period - throttle * t->total_period / 100;
195 t->io_period += difference;
201 if (unlikely(t->io_period > t->total_period))
202 t->io_period = t->total_period;

Completed in 122 milliseconds