mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
blk-mq: abstract tag allocation out into sbitmap library
This is a generally useful data structure, so make it available to anyone else who might want to use it. It's also a nice cleanup separating the allocation logic from the rest of the tag handling logic. The code is behind a new Kconfig option, CONFIG_SBITMAP, which is only selected by CONFIG_BLOCK for now. This should be a complete noop functionality-wise. Signed-off-by: Omar Sandoval <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
703fd1c0f1
commit
88459642cb
11 changed files with 789 additions and 476 deletions
|
|
@ -550,4 +550,7 @@ config STACKDEPOT
|
|||
bool
|
||||
select STACKTRACE
|
||||
|
||||
config SBITMAP
|
||||
bool
|
||||
|
||||
endmenu
|
||||
|
|
|
|||
Loading…
Reference in a new issue