]> 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)
commitdf1e6b64e9e073654b14bdc1834dfb5bb26b4f5f
treec7d78f902aecf429b7b422fd0ba4d6b0c8807b9c
parent1f4fab0dc187050ac36344f47b252b2346e40953
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