[PATCH 0/8] nvmet-fcloop: bunch of fixes and cleanups
From: Daniel Wagner
Date: Tue Apr 08 2025 - 11:34:37 EST
The refcount nvmet-fcloop series is getting a bit long [1]. Here are the
various fixes and small cleanups which are independent of the refcount
changes.
Only the first patch is new, the rest has already been revied by
Christoph and Hannes. I've gave this series a good test run and there
shouldn't be any regressions.
I've got a some more simple patches (with reviews) but they will
introduce regressions, because they depend on the refcount feature.
[1] https://lore.kernel.org/all/20250318-nvmet-fcloop-v3-0-05fec0fc02f6@xxxxxxxxxx/
Signed-off-by: Daniel Wagner <wagi@xxxxxxxxxx>
---
Daniel Wagner (8):
nvmet-fcloop: swap list_add_tail arguments
nvmet-fcloop: replace kref with refcount
nvmet-fcloop: add ref counting to lport
nvmet-fc: inline nvmet_fc_delete_assoc
nvmet-fc: inline nvmet_fc_free_hostport
nvmet-fc: update tgtport ref per assoc
nvmet-fc: take tgtport reference only once
nvmet-fc: put ref when assoc->del_work is already scheduled
drivers/nvme/target/fc.c | 60 ++++++++++++-----------------------
drivers/nvme/target/fcloop.c | 74 ++++++++++++++++++++++++--------------------
2 files changed, 60 insertions(+), 74 deletions(-)
---
base-commit: 0514a1379e11c6b8038674f43a478b0857d47a5e
change-id: 20250408-nvmet-fcloop-part-one-3b62e48cea13
Best regards,
--
Daniel Wagner <wagi@xxxxxxxxxx>