]> 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)
commit58b20dc7cda56d60d2078da08a2096d4168cd7f2
tree20994287473b382deffea5f0877f1da8277d772f
parent027fbc7804426cda3d7eda73db07bd26ce8d2a8a
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