Home
last modified time | relevance | path

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

/Linux-v6.6/fs/btrfs/
Dscrub.c1230 u64 bwlimit; in scrub_throttle_dev_io() local
1232 bwlimit = READ_ONCE(device->scrub_speed_max); in scrub_throttle_dev_io()
1233 if (bwlimit == 0) in scrub_throttle_dev_io()
1240 div = max_t(u32, 1, (u32)(bwlimit / (16 * 1024 * 1024))); in scrub_throttle_dev_io()
1254 if (sctx->throttle_sent <= div_u64(bwlimit, div)) in scrub_throttle_dev_io()