Home
last modified time | relevance | path

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

/Linux-v6.1/fs/btrfs/
Dscrub.c2151 u64 bwlimit; in scrub_throttle() local
2155 bwlimit = READ_ONCE(device->scrub_speed_max); in scrub_throttle()
2156 if (bwlimit == 0) in scrub_throttle()
2163 div = max_t(u32, 1, (u32)(bwlimit / (16 * 1024 * 1024))); in scrub_throttle()
2177 if (sctx->throttle_sent <= div_u64(bwlimit, div)) in scrub_throttle()