[PATCH 0/2] nvmet: address controller teardown issues
James Smart
jsmart2021 at gmail.com
Thu Sep 28 08:35:51 PDT 2017
Controller deletes were showing a nasty stack trace with
flush_work hanging. Looking at the issue, it became clear the
ref counting for nvmet was allowing the controller to be freed
too early causing use after free errors.
First patch addresses ctrl ref counting
second patch addresses flush_work hang
James Smart (2):
nvmet: fix ctlr ref counting
nvmet: Fix fatal_err_work deadlock
drivers/nvme/target/core.c | 42 +++++++++++++++++++++++++++++----------
drivers/nvme/target/fabrics-cmd.c | 1 +
drivers/nvme/target/nvmet.h | 2 ++
3 files changed, 35 insertions(+), 10 deletions(-)
--
2.13.1
More information about the Linux-nvme
mailing list