linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/4] lightnvm: base 2.0 implementation
@ 2018-02-09  9:27 Matias Bjørling
  2018-02-09  9:27 ` [PATCH V2 1/4] lightnvm: make 1.2 data structures explicit Matias Bjørling
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Matias Bjørling @ 2018-02-09  9:27 UTC (permalink / raw)
  To: linux-block; +Cc: linux-kernel, linux-nvme, javier, Matias Bjørling

A couple of patches for 2.0 support for the lightnvm subsystem. They
form the basis for integrating 2.0 support.

For the rest of the support, Javier has code that implements report
chunk and sets up the LBA format data structure. He also has a bunch
of patches that brings pblk up to speed.

The first two patches is preparation for the 2.0 work. The third patch
implements the 2.0 data structures, the geometry command, and exposes
the sysfs attributes that comes with the 2.0 specification. Note that
the attributes between 1.2 and 2.0 are different, and it is expected
that user-space shall use the version sysfs attribute to know which
attributes will be available.

The last patch implements support for using the nvme namespace logical
block and metadata fields and sync it with the internal lightnvm
identify structures.

Changes since v1:

 - pr_err fix from Randy.
 - Address type fix from Javier.
 - Also CC the nvme mailing list.

Matias Bjørling (4):
  lightnvm: make 1.2 data structures explicit
  lightnvm: flatten nvm_id_group into nvm_id
  lightnvm: add 2.0 geometry identification
  nvme: lightnvm: add late setup of block size and metadata

 drivers/lightnvm/core.c      |  33 ++-
 drivers/nvme/host/core.c     |   2 +
 drivers/nvme/host/lightnvm.c | 508 ++++++++++++++++++++++++++++++++-----------
 drivers/nvme/host/nvme.h     |   2 +
 include/linux/lightnvm.h     |  64 +++---
 5 files changed, 428 insertions(+), 181 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-02-15  8:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-09  9:27 [PATCH V2 0/4] lightnvm: base 2.0 implementation Matias Bjørling
2018-02-09  9:27 ` [PATCH V2 1/4] lightnvm: make 1.2 data structures explicit Matias Bjørling
2018-02-09  9:27 ` [PATCH V2 2/4] lightnvm: flatten nvm_id_group into nvm_id Matias Bjørling
2018-02-09  9:27 ` [PATCH V2 3/4] lightnvm: add 2.0 geometry identification Matias Bjørling
2018-02-09  9:27 ` [PATCH V2 4/4] nvme: lightnvm: add late setup of block size and metadata Matias Bjørling
2018-02-12 20:21   ` Javier Gonzalez
2018-02-15  8:57     ` Matias Bjørling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).