[PATCH 0/8] lightnvm: cleanups and support for vector ioctls

From: Matias BjÃrling
Date: Mon Jan 23 2017 - 07:02:41 EST


A couple of patches. The first seven patches is cleanup patches, that
cleans up the codebase for when pblk is added to the kernel, and
prepare the code such that a device can be used as a normal block device
(as long as the access rules are respected).

The last patch adds ioctls for vectored I/Os, which enables liblightnvm
to integrate without any kernel modifications.

-Matias

Matias BjÃrling (8):
lightnvm: merge gennvm with core
lightnvm: collapse nvm_erase_ppa and nvm_erase_blk
lightnvm: remove nvm_submit_ppa* functions
lightnvm: remove nvm_get_bb_tbl and nvm_set_bb_tbl
lightnvm: make nvm_map_* return void
lightnvm: cleanup nvm transformation functions
lightnvm: reduce number of nvm_id groups to one
lightnvm: add ioctls for vector I/Os

drivers/block/null_blk.c | 3 +-
drivers/lightnvm/Kconfig | 9 -
drivers/lightnvm/Makefile | 3 +-
drivers/lightnvm/core.c | 1016 ++++++++++++++++++++++++-----------------
drivers/lightnvm/gennvm.c | 657 --------------------------
drivers/lightnvm/gennvm.h | 62 ---
drivers/lightnvm/sysblk.c | 733 -----------------------------
drivers/nvme/host/core.c | 4 +
drivers/nvme/host/lightnvm.c | 314 +++++++++++--
drivers/nvme/host/nvme.h | 6 +
include/linux/lightnvm.h | 121 +----
include/uapi/linux/lightnvm.h | 50 ++
12 files changed, 940 insertions(+), 2038 deletions(-)
delete mode 100644 drivers/lightnvm/gennvm.c
delete mode 100644 drivers/lightnvm/gennvm.h
delete mode 100644 drivers/lightnvm/sysblk.c

--
2.7.4