Skip to content
Commit 69a5a13a authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: target_congested -> get_random_u32_below()



get_random_u32_below() has a better algorithm than bch2_rand_range(),
it just didn't exist at the time.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 3bcde88d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment