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)
commite3644d79deb0fbcdb67049a9b43c96bf99ca47c1
treef27555669881ee60bdb0969d1ca5927a71cb0f35
parenta5b7a2b57484b8aaf3638b75880c18b038a5d8de
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