diff options
| author | Mohamed Khalfella <[email protected]> | 2025-07-25 20:50:05 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2025-07-31 13:35:46 +0000 |
| commit | 528589947c1802b9357c2a9b96d88cc4a11cd88b (patch) | |
| tree | e16d710a9ca013d108b34dadf056743ec3df79f4 /tools/perf/scripts/python/parallel-perf.py | |
| parent | nvme: add capability to connect to an administrative controller (diff) | |
| download | kernel-528589947c1802b9357c2a9b96d88cc4a11cd88b.tar.gz kernel-528589947c1802b9357c2a9b96d88cc4a11cd88b.zip | |
nvmet: initialize discovery subsys after debugfs is initialized
During nvme target initialization discovery subsystem is initialized
before "nvmet" debugfs directory is created. This results in discovery
subsystem debugfs directory to be created in debugfs root directory.
nvmet_init() ->
nvmet_init_discovery() ->
nvmet_subsys_alloc() ->
nvmet_debugfs_subsys_setup()
In other words, the codepath above is exeucted before nvmet_debugfs is
created. We get /sys/kernel/debug/nqn.2014-08.org.nvmexpress.discovery
instead of /sys/kernel/debug/nvmet/nqn.2014-08.org.nvmexpress.discovery.
Move nvmet_init_discovery() call after nvmet_init_debugfs() to fix it.
Fixes: 649fd41420a8 ("nvmet: add debugfs support")
Signed-off-by: Mohamed Khalfella <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Daniel Wagner <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
