diff options
| author | Mark Ruijter <MRuijter@onestopsystems.com> | 2020-01-30 10:29:32 -0800 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2020-03-04 09:09:08 -0800 |
| commit | 013b7ebe5a0d70e2a02fd225174595e79c591b3e (patch) | |
| tree | a438eba4b322b47b75bed41d4106df46a080a4d3 /net/lapb/lapb_timer.c | |
| parent | 94a39d61f80fcd679debda11e1ca02b88d90e67e (diff) | |
nvmet: make ctrl model configurable
This patch adds a new target subsys attribute which allows user to
optionally specify model name which then used in the
nvmet_execute_identify_ctrl() to fill up the nvme_id_ctrl structure.
The default value for the model is set to "Linux" for backward
compatibility.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Mark Ruijter <MRuijter@onestopsystems.com>
[chaitanya.kulkarni@wdc.com
*Use macro for default model, coding style fixes.
*Use RCU for accessing model in for configfs and in
nvmet_execute_identify_ctrl().
]
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
