Skip to content
Commit c6273411 authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm bio prison v1: prepare to intelligently size dm_bio_prison's prison_regions



Add num_locks member to dm_bio_prison struct and use it rather than
the NR_LOCKS magic value (64).

Next commit will size the dm_bio_prison's prison_regions according to
dm_num_hash_locks().

Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
parent 1e84c4b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment