]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: pblk: expose max sec per write on sysfs
authorJavier González <jg@lightnvm.io>
Mon, 26 Jun 2017 09:57:14 +0000 (11:57 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 26 Jun 2017 22:24:53 +0000 (16:24 -0600)
commitda3e47765e07cde0787744acc372fc68333fc607
treec7d78f902aecf429b7b422fd0ba4d6b0c8807b9c
parent0c53c41de9a7b17b438dae8dd7f610ffd3eafaa3
lightnvm: pblk: expose max sec per write on sysfs

Allow to configure the number of maximum sectors per write command
through sysfs. This makes it easier to tune write command sizes for
different controller configurations.

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-sysfs.c
drivers/lightnvm/pblk.h