public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Anderson <andmike@us.ibm.com>
To: James Bottomley <James.Bottomley@steeleye.com>
Cc: Daniel Stekloff <dsteklof@us.ibm.com>,
	SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH] sdev_printk for ULDs, example with sd
Date: Thu, 22 Jan 2004 12:41:30 -0800	[thread overview]
Message-ID: <20040122204130.GA3571@beaverton.ibm.com> (raw)
In-Reply-To: <1074802104.1877.58.camel@mulgrave>

James Bottomley [James.Bottomley@steeleye.com] wrote:
> On Thu, 2004-01-22 at 14:44, Daniel Stekloff wrote:
> > In my recent post concerning sdev_printk I mentioned sdev_printk was useful 
> > for the mid-layer and LLDs. The macro is also useful for Upper Level Drivers 
> > as well. He's a patch adding sdev_printk to sd. Sample output includes:
> 
> Well, the thing about this is that it's a slippery slope that leads into
> posix logging.  This recently came up in network as well (for
> netdev_printk()):
> 
> http://marc.theaimsgroup.com/?t=107454443000004&r=1&w=2
> 
> The principle is sound, but I think the framework for doing it would
> have to cross all subsystems and be nicely extensible.  I'd really like
> to see us have some idea of the back end infrastructure before we do
> something that we'll then have to change again.
> 

I thought after passed discussions that dev_printk was the support to
build on? It should be extensible to a limit as the struct device is
passed in as a argument.

At least for some of the LLDDs that have implemented it I find it more
consistent when I load and unload modules to get the dev_printk type
message from the driver.

-andmike
--
Michael Anderson
andmike@us.ibm.com


      parent reply	other threads:[~2004-01-22 20:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-19 21:55 [PATCH] sdev_printk - scsi_device helper macro Daniel Stekloff
2004-01-22 19:44 ` [PATCH] sdev_printk for ULDs, example with sd Daniel Stekloff
2004-01-22 20:08   ` James Bottomley
2004-01-22 20:39     ` Daniel Stekloff
2004-01-22 20:41     ` Mike Anderson [this message]

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=20040122204130.GA3571@beaverton.ibm.com \
    --to=andmike@us.ibm.com \
    --cc=James.Bottomley@steeleye.com \
    --cc=dsteklof@us.ibm.com \
    --cc=linux-scsi@vger.kernel.org \
    /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