linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] NVMe cleanups for 5.8
@ 2020-06-02 13:15 Max Gurtovoy
  2020-06-02 13:15 ` [PATCH 1/5] nvme: introduce nvme-types header file Max Gurtovoy
                   ` (6 more replies)
  0 siblings, 7 replies; 23+ messages in thread
From: Max Gurtovoy @ 2020-06-02 13:15 UTC (permalink / raw)
  To: sagi, linux-nvme, kbusch, hch, james.smart, chaitanya.kulkarni
  Cc: israelr, nitzanc, oren, Max Gurtovoy

This series introduce some cleanups and code/logic duplication for host
and target side. It introduces a new header file nvme-types.h that will
be used by both host and target drivers. For now it will include mainly
mapping structures from types to names, but in the future it can include
more common logic between host/target drivers (as done for specific TCP
and RDMA transports). The series continues with adding a flags member to
nvmet_fabrics_ops structure and removes the need for adding dedicated
member for each feature in this struct.

Max Gurtovoy (5):
  nvme: introduce nvme-types header file
  nvme: use nvme_ana_type_to_name to get state string
  nvme: replace transport name with trtype enum for ops
  nvmet-tcp: remove has_keyed_sgls initialization
  nvmet: introduce flags member in nvmet_fabrics_ops

 drivers/nvme/host/fabrics.c     |  3 +-
 drivers/nvme/host/fabrics.h     |  4 +-
 drivers/nvme/host/fc.c          |  2 +-
 drivers/nvme/host/multipath.c   | 16 ++-----
 drivers/nvme/host/nvme.h        |  1 +
 drivers/nvme/host/rdma.c        |  2 +-
 drivers/nvme/host/tcp.c         |  2 +-
 drivers/nvme/target/admin-cmd.c |  2 +-
 drivers/nvme/target/configfs.c  | 92 ++++++++-------------------------------
 drivers/nvme/target/core.c      |  2 +-
 drivers/nvme/target/discovery.c |  2 +-
 drivers/nvme/target/loop.c      |  2 +-
 drivers/nvme/target/nvmet.h     |  6 ++-
 drivers/nvme/target/rdma.c      |  3 +-
 drivers/nvme/target/tcp.c       |  1 -
 include/linux/nvme-types.h      | 95 +++++++++++++++++++++++++++++++++++++++++
 16 files changed, 132 insertions(+), 103 deletions(-)
 create mode 100644 include/linux/nvme-types.h

-- 
1.8.3.1


_______________________________________________
linux-nvme mailing list
linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

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

end of thread, other threads:[~2020-06-10  0:07 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-02 13:15 [PATCH 0/5] NVMe cleanups for 5.8 Max Gurtovoy
2020-06-02 13:15 ` [PATCH 1/5] nvme: introduce nvme-types header file Max Gurtovoy
2020-06-02 14:40   ` Himanshu Madhani
2020-06-03 21:18   ` Sagi Grimberg
2020-06-04  9:39     ` Max Gurtovoy
2020-06-05  8:00       ` Sagi Grimberg
2020-06-05 23:00         ` Max Gurtovoy
2020-06-09 13:57   ` Christoph Hellwig
2020-06-10  0:07     ` Max Gurtovoy
2020-06-02 13:15 ` [PATCH 2/5] nvme: use nvme_ana_type_to_name to get state string Max Gurtovoy
2020-06-02 14:44   ` Himanshu Madhani
2020-06-02 13:15 ` [PATCH 3/5] nvme: replace transport name with trtype enum for ops Max Gurtovoy
2020-06-02 14:46   ` Himanshu Madhani
2020-06-05 16:49   ` Sagi Grimberg
2020-06-07  8:36     ` Max Gurtovoy
2020-06-08  4:40       ` Sagi Grimberg
2020-06-02 13:15 ` [PATCH 4/5] nvmet-tcp: remove has_keyed_sgls initialization Max Gurtovoy
2020-06-02 15:03   ` Himanshu Madhani
2020-06-02 13:15 ` [PATCH 5/5] nvmet: introduce flags member in nvmet_fabrics_ops Max Gurtovoy
2020-06-02 15:03   ` Himanshu Madhani
2020-06-03 13:08 ` [PATCH 0/5] NVMe cleanups for 5.8 Christoph Hellwig
2020-06-03 13:32   ` Max Gurtovoy
2020-06-09 13:57 ` Christoph Hellwig

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).