]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9958afa1fa7828b136faaa02b03f31852b834483
treef27555669881ee60bdb0969d1ca5927a71cb0f35
parentd648a42536c00fe996359f1938966a7c2354016f
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