]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: pblk: set mempool and workqueue params.
authorJavier González <jg@lightnvm.io>
Mon, 26 Jun 2017 09:57:28 +0000 (11:57 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 26 Jun 2017 22:27:39 +0000 (16:27 -0600)
commitdcf34df60d60d755b90d35db20cbfaa4f9beed19
tree20994287473b382deffea5f0877f1da8277d772f
parent70f1e80b56af61adf013a8ab1b2ca812435e3bb7
lightnvm: pblk: set mempool and workqueue params.

Make constants to define sizes for internal mempools and workqueues. In
this process, adjust the values to be more meaningful given the internal
constrains of the FTL. In order to do this for workqueues, separate the
current auxiliary workqueue into two dedicated workqueues to manage
lines being closed and bad blocks.

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