diff options
| author | 2026-09-29 16:56:47 +0530 | |
|---|---|---|
| committer | 2026-10-13 08:34:25 -0700 | |
| commit | 9e7fe5ade9fd1058be20ff8cc43a944ef435662c (patch) | |
| tree | 7e6da2c156ebc26c4bffc9bba3087c17720b8f9f /scripts/Makefile.thinlto | |
| parent | nvmet: Add traffic based keep alive support to configfs (diff) | |
nvmet: introduce struct nvmet_passthru
Currently, passthru parameters are grouped under struct nvmet_subsys.
Since passthru can be configured through configfs and all passthru
parameters are exposed under a separate configfs subdirectory, group
these parameters under a new struct nvmet_passthru.
Grouping passthru-specific parameters in a separate structure makes
the code easier to maintain and reason about.
This also allows the passthru structure to be allocated on demand,
avoiding the memory overhead for subsystems that do not use passthru.
The structure is allocated when passthru configuration is needed and
its configfs attributes are accessed under subsys->lock. The passthru
configfs group is still created when the subsystem is allocated.
There are no functional changes intended.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nilay Shroff <nilay@linux.ibm.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
