[PATCH 0/7] nvme: cleanup ida_simple_[get|remove]

Sagi Grimberg sagi at grimberg.me
Mon Feb 14 01:07:25 PST 2022


We have the simpler and more convenient idr_[alloc|free], use them
instead.

Sagi Grimberg (7):
  nvme-tcp: fix bogus request completion when failing to send AER
  nvme: replace ida_simple[get|remove] with the simler ida_[alloc|free]
  nvme-fc: replace ida_simple[get|remove] with the simler
    ida_[alloc|free]
  nvmet: replace ida_simple[get|remove] with the simler ida_[alloc|free]
  nvmet-fc: replace ida_simple[get|remove] with the simler
    ida_[alloc|free]
  nvmet-rdma: replace ida_simple[get|remove] with the simler
    ida_[alloc|free]
  nvmet-tcp: replace ida_simple[get|remove] with the simler
    ida_[alloc|free]

 drivers/nvme/host/core.c   | 18 +++++++++---------
 drivers/nvme/host/fc.c     | 16 ++++++++--------
 drivers/nvme/host/tcp.c    | 10 +++++++++-
 drivers/nvme/target/core.c |  4 ++--
 drivers/nvme/target/fc.c   | 12 ++++++------
 drivers/nvme/target/rdma.c |  6 +++---
 drivers/nvme/target/tcp.c  |  6 +++---
 7 files changed, 40 insertions(+), 32 deletions(-)

-- 
2.30.2




More information about the Linux-nvme mailing list