]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: pblk: take bitmap alloc. out of critical section
authorJavier González <javier@javigon.com>
Fri, 1 Jun 2018 14:41:14 +0000 (16:41 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 1 Jun 2018 15:02:53 +0000 (09:02 -0600)
commit6e42ddbbd218d5a23a9ffc90c039401123d29b8a
treeeeeae46b5f4f72b3e6f174f12e3d1b885072c8f6
parent812bb3375bde3a426ae38eec6463fb809cec4837
lightnvm: pblk: take bitmap alloc. out of critical section

pblk allocates line bitmaps within the line lock unnecessarily. In order
to take pressure out of the fast patch, allocate line bitmaps outside
of this lock and refactor accordingly.

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-core.c