]> asedeno.scripts.mit.edu Git - linux.git/commit
lightnvm: set default lun range when no luns are specified
authorMatias Bjørling <matias@cnexlabs.com>
Wed, 15 Feb 2017 15:25:33 +0000 (16:25 +0100)
committerJens Axboe <axboe@fb.com>
Wed, 15 Feb 2017 15:27:21 +0000 (08:27 -0700)
commit6732c7401035c8464fd4ab5ff2e1bf86e5fcd74c
treeae0e66667ced2d480defc9a0d87089d35f3799dc
parent0e5ffd1cb5f7ce19f23cc829d5dc3ebb1491570f
lightnvm: set default lun range when no luns are specified

The create target ioctl takes a lun begin and lun end parameter, which
defines the range of luns to initialize a target with. If the user does
not set the parameters, it default to only using lun 0. Instead,
defaults to use all luns in the OCSSD, as it is the usual behaviour
users want.

Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/core.c