linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/5] Support for Open-Channel SSDs
@ 2015-07-22 17:50 Matias Bjørling
  2015-07-22 17:51 ` [PATCH v5 1/5] lightnvm: " Matias Bjørling
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Matias Bjørling @ 2015-07-22 17:50 UTC (permalink / raw)
  To: hch, axboe, linux-fsdevel, linux-kernel, linux-nvme
  Cc: Stephen.Bates, keith.busch, Matias Bjørling

These patches implement support for Open-Channel SSDs.

Applies against axboe's linux-block/for-4.3/drivers.

Any feedback is greatly appreciated.

Changes since v4:
 - Remove gendisk->nvm dependency
 - Remove device driver rq private field dependency.
 - Update submission and completion. The flow is now
     Target -> Block Manager -> Device Driver, replacing callbacks in
     device driver.
 - Abstracted out the block manager into its own module. Other block
   managers can now be implemented. For example to support fully
   host-based SSDs.
 - No longer exposes the device driver gendisk to user-space.
 - Management is moved into /sys/modules/lnvm/parameters/configure_debug

Changes since v3:

 - Remove dependency on REQ_NVM_GC
 - Refactor nvme integration to use nvme_submit_sync_cmd for
   internal commands.
 - Fix race condition bug on multiple threads on RRPC target.
 - Rename sysfs entry under the block device from nvm to lightnvm.
   The configuration is found in /sys/block/*/lightnvm/

Changes since v2:

 Feedback from Paul Bolle:
 - Fix license to GPLv2, documentation, compilation.
 Feedback from Keith Busch:
 - nvme: Move lightnvm out and into nvme-lightnvm.c.
 - nvme: Set controller css on lightnvm command set.
 - nvme: Remove OACS.
 Feedback from Christoph Hellwig:
 - lightnvm: Move out of block layer into /drivers/lightnvm/core.c
 - lightnvm: refactor request->phys_sector into device drivers.
 - lightnvm: refactor prep/unprep into device drivers.
 - lightnvm: move nvm_dev from request_queue to gendisk.

 New
 - Bad block table support (From Javier).
 - Update maintainers file.

Changes since v1:

 - Splitted LightNVM into two parts. A get/put interface for flash
   blocks and the respective targets that implement flash translation
   layer logic.
 - Updated the patches according to the LightNVM specification changes.
 - Added interface to add/remove targets for a block device.

Thanks to Jens Axboe, Christoph Hellwig, Keith Busch, Javier Gonzalez
and Jesper Madsen for discussions and contributions.

Matias Bjørling (5):
  lightnvm: Support for Open-Channel SSDs
  rrpc: RRPC target
  bm_hb: Hybrid Open-Channel SSD block manager
  null_blk: LightNVM support
  nvme: LightNVM support

 Documentation/block/null_blk.txt |    8 +
 MAINTAINERS                      |    8 +
 drivers/Kconfig                  |    2 +
 drivers/Makefile                 |    5 +
 drivers/block/Makefile           |    2 +-
 drivers/block/null_blk.c         |  138 ++++-
 drivers/block/nvme-core.c        |   22 +-
 drivers/block/nvme-lightnvm.c    |  504 ++++++++++++++++
 drivers/lightnvm/Kconfig         |   33 ++
 drivers/lightnvm/Makefile        |    7 +
 drivers/lightnvm/bm_hb.c         |  379 ++++++++++++
 drivers/lightnvm/bm_hb.h         |   31 +
 drivers/lightnvm/core.c          |  598 +++++++++++++++++++
 drivers/lightnvm/rrpc.c          | 1190 ++++++++++++++++++++++++++++++++++++++
 drivers/lightnvm/rrpc.h          |  220 +++++++
 include/linux/lightnvm.h         |  393 +++++++++++++
 include/linux/nvme.h             |    6 +
 include/uapi/linux/nvme.h        |    3 +
 18 files changed, 3539 insertions(+), 10 deletions(-)
 create mode 100644 drivers/block/nvme-lightnvm.c
 create mode 100644 drivers/lightnvm/Kconfig
 create mode 100644 drivers/lightnvm/Makefile
 create mode 100644 drivers/lightnvm/bm_hb.c
 create mode 100644 drivers/lightnvm/bm_hb.h
 create mode 100644 drivers/lightnvm/core.c
 create mode 100644 drivers/lightnvm/rrpc.c
 create mode 100644 drivers/lightnvm/rrpc.h
 create mode 100644 include/linux/lightnvm.h

-- 
2.1.4

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

end of thread, other threads:[~2015-07-25  6:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-22 17:50 [PATCH v5 0/5] Support for Open-Channel SSDs Matias Bjørling
2015-07-22 17:51 ` [PATCH v5 1/5] lightnvm: " Matias Bjørling
2015-07-23  9:53   ` Christoph Hellwig
2015-07-23 10:38     ` Matias Bjørling
2015-07-22 17:51 ` [PATCH v5 2/5] rrpc: Hybrid Open-Channel SSD RRPC target Matias Bjørling
2015-07-22 17:51 ` [PATCH v5 3/5] bm_hb: Hybrid Open-Channel SSD block manager Matias Bjørling
2015-07-22 17:51 ` [PATCH v5 4/5] null_blk: LightNVM support Matias Bjørling
2015-07-23  9:53   ` Christoph Hellwig
2015-07-23 10:48     ` Matias Bjørling
2015-07-25  6:25       ` Christoph Hellwig
2015-07-22 17:51 ` [PATCH v5 5/5] nvme: " 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).