lkml.org 
[lkml]   [2015]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] block: turn Oops into WARNING if bdi_register_dev fails.
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.


\
 
 \ /
  Last update: 2015-04-27 15:21    [W:0.022 / U:2.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site