nvme: lightnvm: attach lightnvm sysfs to nvme block device
authorMatias Bjørling <m@bjorling.me>
Mon, 28 Nov 2016 21:38:53 +0000 (22:38 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 29 Nov 2016 19:12:51 +0000 (12:12 -0700)
commit3dc87dd048dc442bab633e85bfb96c893612d765
treef27555669881ee60bdb0969d1ca5927a71cb0f35
parent7498e99fc51ca60b960ef79061e0e7b521feb07e
nvme: lightnvm: attach lightnvm sysfs to nvme block device

Previously, LBA read and write were not supported in the lightnvm
specification. Now that it supports it, lets use the traditional
NVMe gendisk, and attach the lightnvm sysfs geometry export.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/Makefile
drivers/lightnvm/core.c
drivers/lightnvm/lightnvm.h [deleted file]
drivers/lightnvm/sysfs.c [deleted file]
drivers/nvme/host/core.c
drivers/nvme/host/lightnvm.c
drivers/nvme/host/nvme.h
include/linux/lightnvm.h