Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dscrub.c1239 u64 bwlimit; in scrub_throttle_dev_io() local
1241 bwlimit = READ_ONCE(device->scrub_speed_max); in scrub_throttle_dev_io()
1242 if (bwlimit == 0) in scrub_throttle_dev_io()
1249 div = max_t(u32, 1, (u32)(bwlimit / (16 * 1024 * 1024))); in scrub_throttle_dev_io()
1263 if (sctx->throttle_sent <= div_u64(bwlimit, div)) in scrub_throttle_dev_io()