Linux SCSI subsystem development
 help / color / mirror / Atom feed
From: Laurence Oberman <loberman@redhat.com>
To: michael.christie@oracle.com, martin.petersen@oracle.com,
	 linux-scsi@vger.kernel.org, emilne@redhat.com,
	jpittman@redhat.com,  jmeneghi@redhat.com,
	Bart.VanAssche@wdc.com
Subject: Re: [PATCH] V2 scsi_mod: Add a new parameter to scsi_mod to control
Date: Fri, 19 Apr 2024 15:36:13 -0400	[thread overview]
Message-ID: <47e8a845f19f8723ae5a913dcb20c85a2355f5b6.camel@redhat.com> (raw)
In-Reply-To: <d82ee3b2-ded7-4020-a286-e9aff060572e@oracle.com>

On Fri, 2024-04-19 at 14:28 -0500, michael.christie@oracle.com wrote:
> On 4/18/24 1:10 PM, Laurence Oberman wrote:
> > Resend of this patch as V2 against Martin's tree.
> > Changes: Removed initialization of global variable
> > storage_quiet_discovery
> > 
> > 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.
> > 
> 
> I didn't see v1 so maybe this was already asked. Why can you use the
> existing SCSI_LOG infrastructure for this?
> 
> For example, are the printks that are causing you problems specific
> calls that are not already covered by SCSI_LOG, like the sdev_printk
> in
> scsi_probe_lun? Do we just want to have those covered by a new
> SCSI_LOG
> value like SCSI_LOG_DISCOVERY?
> 
> 
> 

Mike and Bart, Thank you

I think I looked at this some years back and customers wanted an off
during boot but then on workflow.
I sent the patch a few years back but the problem has not gone away so
I resent.

Back Monday after review of your suggestions.

Regards
Laurence


  reply	other threads:[~2024-04-19 19:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-18 18:10 [PATCH] V2 scsi_mod: Add a new parameter to scsi_mod to control Laurence Oberman
2024-04-19  0:54 ` Laurence Oberman
2024-04-19 18:16 ` Bart Van Assche
2024-04-19 19:28 ` michael.christie
2024-04-19 19:36   ` Laurence Oberman [this message]
2024-04-21 22:13     ` Laurence Oberman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47e8a845f19f8723ae5a913dcb20c85a2355f5b6.camel@redhat.com \
    --to=loberman@redhat.com \
    --cc=Bart.VanAssche@wdc.com \
    --cc=emilne@redhat.com \
    --cc=jmeneghi@redhat.com \
    --cc=jpittman@redhat.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=michael.christie@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox