Re: [PATCH] V2 scsi_mod: Add a new parameter to scsi_mod to control

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

 



On 4/18/24 11:10, Laurence Oberman wrote:
This new parameter storage_quiet_discovery defaults to 0 and behavior is
unchanged. If its set to 1 on the kernel line then sd_printk and
sdev_printk are disabled for printing. The default logging can be
re-enabled any time after boot using /etc/sysctl.conf by setting
dev.scsi.storage_quiet_discovery = 0.
systctl -w dev.scsi.storage_quiet_discovery=0 will also change it
immediately back to logging. i
Users can leave it set to 1 on the kernel line and 0 in the conf file
so it changes back to default after rc.sysinit.
This solves the tough problem of systems with 1000's of
storage LUNS consuming a system and preventing it from booting due to
NMI's and timeouts due to udev triggers.

Are there any alternatives to introducing a new kernel module parameter?
Has it e.g. been considered to rate-limit the messages related to newly
discovered logical units? How about reporting information about new
logical units only if less than ten logical units are discovered per
second?

Thanks,

Bart.





[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