mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: NeilBrown <neilb@suse.de>
Cc: Jens Axboe <axboe@fb.com>, Tejun Heo <tj@kernel.org>,
	Christoph Hellwig <hch@lst.de>,
	lkml <linux-kernel@vger.kernel.org>,
	viro@zeniv.linux.org.uk
Subject: Re: [PATCH] block: turn Oops into WARNING if bdi_register_dev fails.
Date: Mon, 27 Apr 2015 15:04:36 +0200	[thread overview]
Message-ID: <20150427130436.GB31842@lst.de> (raw)
In-Reply-To: <20150427151931.7a43ecc6@notabene.brown>

On Mon, Apr 27, 2015 at 03:19:31PM +1000, NeilBrown wrote:
> 
> add_disk() does not return an error status, but it can
> still fail if there are problems elsewhere.
> 
> In particular a recent problem caused bdi_register_dev()
> to sometimes fail because the name was already in use.

I guess that's the best workaround for now, but we'll really need to tackle
the problem that add_disk can return errors proper eventually.

      reply	other threads:[~2015-04-27 13:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-27  5:19 NeilBrown
2015-04-27 13:04 ` Christoph Hellwig [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=20150427130436.GB31842@lst.de \
    --to=hch@lst.de \
    --cc=axboe@fb.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=tj@kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    /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

all inboxes | Powered by JetHome®