nvme-fcloop: fix shutdown and improve logging
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | nvme-fcloop: flush workqueue before calling nvme_fc_unregister_remoteport()drivers/ | +1 | 1 reply | |
| 2/7 | nvmet-fc: use per-target workqueue when removing associationsdrivers/ | +23 | 1 reply | |
| 3/7 | nvme-fcloop: use IDA for port idsdrivers/ | +43 | 2 replies | |
| 4/7 | nvmet-fc: use feature flag for virtual LLDDdrivers/ drivers/ include/ | +55 | 1 reply | |
| 5/7 | nvme-fc: use feature flag for virtual LLDDdrivers/ drivers/ include/ | +64 | 1 reply | |
| 6/7 | nvme-fcloop: use a device for nportdrivers/ | +21 | 1 reply | |
| 7/7 | nvme-fcloop: use a device for lportdrivers/ | +39 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | James Smart |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] nvme-fcloop: fix shutdown and improve logging
Hi all,
there's a long-standing issue with fcloop that it triggers a use-after-free when removing ports as the disconnect I/O is still running while the ports are being removed.
This patchset fixes up this issue and also creates a device for each localport and each nport; with that the logging is vastly improved as we now have readable device names in the logging output and not "(NULL devuce *)".
Blocktests will be send separately.
As usual, comments and reviews are welcome.
Hannes Reinecke (7):
nvme-fcloop: flush workqueue before calling
nvme_fc_unregister_remoteport()
nvmet-fc: use per-target workqueue when removing associations
nvme-fcloop: use IDA for port ids
nvmet-fc: use feature flag for virtual LLDD
nvme-fc: use feature flag for virtual LLDD
nvme-fcloop: use a device for nport
nvme-fcloop: use a device for lport
drivers/nvme/host/fc.c | 93 ++++++++++++++++------------- drivers/nvme/target/fc.c | 122 +++++++++++++++++++++++--------------- drivers/nvme/target/fcloop.c | 131 ++++++++++++++++++++++++++++++++--------- include/linux/nvme-fc-driver.h | 12 ++++ 4 files changed, 241 insertions(+), 117 deletions(-)
Signature · 7 lines
2.16.4 _______________________________________________ Linux-nvme mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-nvme