Re: [PATCH v2 0/2] target: Introduce dummy devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/22/21 3:09 PM, Konstantin Shelekhin wrote:
> This patch series (inspired by SCST) adds support for the dummy devices
> via the new DUMMY flag of rd_mcp. The rationale behind the change is to
> give a user the ability to create conifgurable devices for LUN 0 with
> custom WWN values (like vendor, product or revision) as some tools like
> QConvergeGUI use LUN 0 to identify the whole storage.
> 
> The advantage over simply creating a NULLIO rd_mcp device is that the
> DUMMY device will not be seen as a block device, hence less confusion
> for the system administrator.
> 
> Konstantin Shelekhin (2):
>   target: Add the DUMMY flag to rd_mcp
>   target: Make the virtual LUN 0 device dummy
> 
>  drivers/target/target_core_device.c |  2 +-
>  drivers/target/target_core_rd.c     | 27 +++++++++++++++++++++++----
>  drivers/target/target_core_rd.h     |  1 +
>  drivers/target/target_core_spc.c    |  6 +-----
>  4 files changed, 26 insertions(+), 10 deletions(-)
> 

Patches look ok and tested ok for me.

Reviewed-by: Mike Christie <michael.christie@xxxxxxxxxx>



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux