diff options
author | Sagi Grimberg <[email protected]> | 2016-02-10 10:03:29 -0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2016-02-10 14:22:32 -0700 |
commit | e439bb12e75c2807029853493fa787c6d70c763a (patch) | |
tree | 8d3573e86cdc7116a40f21242f481ce6e80dbc63 /tools/perf/scripts/python | |
parent | 1b3c47c182aac70c4487105d2e22a17f0193525f (diff) |
nvme/host: reference the fabric module for each bdev open callout
We don't want to be able to unload the fabric driver when we have
openened referenced to our namespaces. Thus, for each nvme_open we
take a reference on the fabric driver and put it in nvme_release.
This behavior is consistent with the scsi model.
This resolves the panic when unloading a fabric module with
mpath holders.
Signed-off-by: Sagi Grimberg <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Ian Bakshan <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Ming Lin <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions