summaryrefslogtreecommitdiffstats
path: root/block/disk-events.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@kernel.org>2023-03-27 20:09:45 +0200
committerMike Snitzer <snitzer@kernel.org>2023-03-30 21:57:51 +0200
commit36c18b86390824f93ed1580500df9698978e2006 (patch)
treea4c741b5a2b6ea21d3ff7150c39f4dc5b15415c0 /block/disk-events.c
parentdm: add dm_num_hash_locks() (diff)
downloadlinux-36c18b86390824f93ed1580500df9698978e2006.tar.xz
linux-36c18b86390824f93ed1580500df9698978e2006.zip
dm bufio: prepare to intelligently size dm_buffer_cache's buffer_trees
Add num_locks member to dm_buffer_cache struct and use it rather than the NR_LOCKS magic value (64). Next commit will size the dm_buffer_cache's buffer_trees according to dm_num_hash_locks(). Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'block/disk-events.c')
0 files changed, 0 insertions, 0 deletions