summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-bufio.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@kernel.org>2023-03-27 14:09:45 -0400
committerMike Snitzer <snitzer@kernel.org>2023-03-30 15:57:51 -0400
commitc6273411d1803ed03d4f0628bc629a8c45774351 (patch)
tree547b16125fef7040ad839fb2d2500697ddfb28d1 /drivers/md/dm-bufio.c
parent1e84c4b7322d44a5b7d7f83eced1f60cc0ecf1a4 (diff)
downloadlinux-stable-c6273411d1803ed03d4f0628bc629a8c45774351.tar.gz
linux-stable-c6273411d1803ed03d4f0628bc629a8c45774351.tar.bz2
linux-stable-c6273411d1803ed03d4f0628bc629a8c45774351.zip
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: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/dm-bufio.c')
0 files changed, 0 insertions, 0 deletions