]> www.infradead.org Git - users/hch/nvme-cli.git/commit
lightnvm: default to -1 on lun begin and end
authorMatias Bjørling <matias@cnexlabs.com>
Wed, 15 Feb 2017 14:57:32 +0000 (15:57 +0100)
committerMatias Bjørling <matias@cnexlabs.com>
Wed, 15 Feb 2017 15:29:41 +0000 (16:29 +0100)
commita2c32fadcab588c171a32db49f04554cba7de2ae
tree679bde04e18b1d2b762f3462cedf184fb8c6a231
parent7e4c7596113357ce8f11c92b3a113d5748e6bd68
lightnvm: default to -1 on lun begin and end

The default behavior when initializing a target without lun end and
begin is to use only the first lun of the OCSSD. Going forward, the
user shall either explicit specific the begin and end, or if not defined
for kernel 4.11 and newer, the full SSD is initialized.

Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
lnvm-nvme.c