Skip to content

Drop 'struct fabric_args'#3195

Merged
igaw merged 4 commits intolinux-nvme:masterfrom
hreinecke:fabric_args
Mar 20, 2026
Merged

Drop 'struct fabric_args'#3195
igaw merged 4 commits intolinux-nvme:masterfrom
hreinecke:fabric_args

Conversation

@hreinecke
Copy link
Collaborator

'struct fabric_args' is just an intermediate structure to hold information for creating a controller. Which is really pointless, as 'struct nvmf_context' is serving exactly the same purpose. So this patchset first ensures that any lookup / scan / create will always run on a local copy of 'struct nvmf_context', as then 'struct fabric_args' can be dropped.

@hreinecke hreinecke force-pushed the fabric_args branch 2 times, most recently from 053cdb6 to 33b4925 Compare March 19, 2026 07:16
First step towards removal of fabric_args.

Signed-off-by: Hannes Reinecke <hare@suse.de>
All information is stored in nvmf_context, so use that instead.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Remove the final references to 'fabric_args' and remove the structure.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Unused.

Signed-off-by: Hannes Reinecke <hare@suse.de>
@igaw igaw merged commit f4554ba into linux-nvme:master Mar 20, 2026
28 checks passed
@igaw
Copy link
Collaborator

igaw commented Mar 20, 2026

Thanks a lot for taking the time to cleanup the mess I did!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants