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 15:01:17 +0000 (08:01 -0700)
commit74d3c08ac5cd8aa1828278c0f44785b04ffa59f5
treef27555669881ee60bdb0969d1ca5927a71cb0f35
parent7b775ee19f62b71d4eb0c5901bf0afd71e7d4631
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