diff options
author | Konstantin Shelekhin <k.shelekhin@yadro.com> | 2021-03-22 23:09:37 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-04-06 06:26:38 +0300 |
commit | 0aecfa662e4312046ece56bb5666796412abe8cb (patch) | |
tree | 02474599ceaf724cc0c20181b6e7ebed629ec7ab /fs | |
parent | bc3f2b42b70eb1b8576e753e7d0e117bbb674496 (diff) | |
download | linux-0aecfa662e4312046ece56bb5666796412abe8cb.tar.xz |
scsi: target: Add the DUMMY flag to rd_mcp
This commit adds the DUMMY flag to the rd_mcp backend that forces a logical
unit to report itself as not connected device of an unknown type.
Essentially this allows users to create devices identical to the device for
the virtual LUN 0, making it possible to explicitly create a LUN 0 device
and configure its WWNs (e.g. vendor or product name).
Link: https://lore.kernel.org/r/20210322200938.53300-2-k.shelekhin@yadro.com
Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com>
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Konstantin Shelekhin <k.shelekhin@yadro.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions