On 09/16/2016 06:25 AM, Matias Bjørling wrote:
Hi Jens, A couple of patches for 4.9. We are preparing the pblk target for upstream, but it will have to wait for at least a cycle before it is ready. Geert and Arnd sent two fixes. One check for DMA and another for missing a device_add check. Simon added sysfs support to LightNVM. It allows the user to inspect the geometry of a device through sysfs. As NVMe device driver integrates with blk-mq, it also exposes the blk-mq sysfs structure. I added a couple of plumbing patches to enable sysfs. It mainly refactors nvme and null_blk to take control over nvm_dev and replaces the gendisk parameter in blk_mq_(un)register_disk() with device and the associated request queue. Please pick up. The patches are available here: https://github.com/OpenChannelSSD/linux.git for-jens Thank you, Matias Arnd Bergmann (1): lightnvm: propagate device_add() error code Geert Uytterhoeven (1): lightnvm: NVM should depend on HAS_DMA Matias Bjørling (4): nvme: refactor namespaces to support non-gendisk devices null_blk: refactor to support non-gendisk devices blk-mq: register device instead of disk lightnvm: control life of nvm_dev in driver Simon A. F. Lund (1): lightnvm: expose device geometry through sysfs block/blk-mq-sysfs.c | 17 ++-- block/blk-sysfs.c | 4 +- drivers/block/null_blk.c | 128 +++++++++++++++++----------- drivers/lightnvm/Kconfig | 2 +- drivers/lightnvm/Makefile | 2 +- drivers/lightnvm/core.c | 55 +++++------- drivers/lightnvm/lightnvm.h | 35 ++++++++ drivers/lightnvm/sysfs.c | 198 +++++++++++++++++++++++++++++++++++++++++++ drivers/md/dm-rq.c | 2 +- drivers/nvme/host/core.c | 149 +++++++++++++++++++------------- drivers/nvme/host/lightnvm.c | 33 ++++++-- drivers/nvme/host/nvme.h | 26 ++++-- include/linux/blk-mq.h | 4 +- include/linux/lightnvm.h | 18 ++-- 14 files changed, 498 insertions(+), 175 deletions(-) create mode 100644 drivers/lightnvm/lightnvm.h create mode 100644 drivers/lightnvm/sysfs.c
Applied for 4.9, thanks. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html