]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit9cfd5a95381e960bdbc5cd24ec7987205a3a9bee
treeeeeae46b5f4f72b3e6f174f12e3d1b885072c8f6
parentcc9c9a00b10eaf33abe1cece2c05ea34601af21b
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