Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dscrub.c1388 u64 bwlimit; in scrub_throttle_dev_io() local
1390 bwlimit = READ_ONCE(device->scrub_speed_max); in scrub_throttle_dev_io()
1391 if (bwlimit == 0) in scrub_throttle_dev_io()
1398 div = clamp(bwlimit / (16 * 1024 * 1024), 1, 64); in scrub_throttle_dev_io()
1411 if (sctx->throttle_sent <= div_u64(bwlimit, div)) in scrub_throttle_dev_io()