diff options
author | Omar Sandoval <osandov@fb.com> | 2016-09-17 08:38:44 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-09-17 08:38:44 -0600 |
commit | 88459642cba452630326b9cab1c651e09577d4e4 (patch) | |
tree | cd7ecd917b294a92ff827b0e7dab526f0069547f /lib/Kconfig | |
parent | 703fd1c0f177219e3a84e6c095c31dc566514d81 (diff) | |
download | linux-88459642cba452630326b9cab1c651e09577d4e4.tar.bz2 |
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 <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r-- | lib/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index d79909dc01ec..942fb8091a86 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -550,4 +550,7 @@ config STACKDEPOT bool select STACKTRACE +config SBITMAP + bool + endmenu |