public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@SteelEye.com>
To: Matthew Wilcox <matthew@wil.cx>
Cc: linux-scsi@vger.kernel.org
Subject: Re: target_alloc is noisy on failure
Date: Sun, 18 Dec 2005 13:48:12 -0600	[thread overview]
Message-ID: <1134935293.3517.17.camel@mulgrave> (raw)
In-Reply-To: <20051218192925.GM2361@parisc-linux.org>

On Sun, 2005-12-18 at 12:29 -0700, Matthew Wilcox wrote:
> However, returning an error from target_alloc is noisy:
> 
>         int error = shost->hostt->target_alloc(starget);
> 
> 	if(error) {
> 		dev_printk(KERN_ERR, dev,
> 			"target allocation failed, error %d\n", error);
> 
> so I don't really want to do this.  Any thoughts on defining some
> 'quiet' return values from target_alloc?

Well, obviously, for consistency it should be the same quiet return as
for slave_alloc (i.e. -ENXIO).

James



      reply	other threads:[~2005-12-18 19:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-18 19:29 target_alloc is noisy on failure Matthew Wilcox
2005-12-18 19:48 ` James Bottomley [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=1134935293.3517.17.camel@mulgrave \
    --to=james.bottomley@steeleye.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=matthew@wil.cx \
    /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