Re: [PATCH] megaraid_sas: device scan on logical target with invalid LUN ID deletes that target from the OS

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

 



On Thu, Mar 24, 2022 at 02:47:11AM -0700, Chandrakanth patil wrote:
> The megaraid_sas driver supports single LUN, that is LUN 0. And all other
> LUNs are unsupported.
> When a device scan on logical target with invalid lun is invoked through
> sysfs that target itself is getting removed from the OS. So added a LUN
> ID validation in the slave destroy to avoid the target deletion.

Please set the max_lun member ins the host template isntead of papering
over this in the driver.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux