mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Srivatsa S. Bhat" <srivatsa@csail.mit.edu>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: logang@deltatee.com, axboe@kernel.dk, jlayton@poochiereds.net,
	bfields@fieldses.org, linux-kernel@vger.kernel.org
Subject: Re: Change in register_blkdev() behavior
Date: Thu, 1 Feb 2018 16:25:08 -0800	[thread overview]
Message-ID: <2c9a88ae-89e5-e89e-ade3-3eebd2a26a85@csail.mit.edu> (raw)
In-Reply-To: <20180131142403.GB9233@kroah.com>

On 1/31/18 6:24 AM, Greg KH wrote:
> On Tue, Jan 30, 2018 at 04:56:32PM -0800, Srivatsa S. Bhat wrote:
>>
>> Hi,
>>
>> Before commit 133d55cdb2f "block: order /proc/devices by major number",
>> if register_blkdev() was called with major = [1..UINT_MAX], it used to
>> succeed (provided the requested major number was actually free).
> 
> How was LTP calling register_blkdev() with such crazy numbers?
> 

Haha :-) No idea!

> Anyway, I agree with Logan, this sounds like something to be resolved in
> LTP, as allowing block devices with numbers greater than the number we
> really allow seems like an odd requirement :)
> 

Agreed! And thanks for confirming!

Regards,
Srivatsa

      reply	other threads:[~2018-02-02  0:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-31  0:56 Srivatsa S. Bhat
2018-01-31  1:26 ` Logan Gunthorpe
2018-02-02  0:23   ` Srivatsa S. Bhat
2018-02-02  1:10     ` Logan Gunthorpe
2018-02-02  2:17       ` Srivatsa S. Bhat
2018-02-02  6:12         ` Logan Gunthorpe
2018-01-31 14:24 ` Greg KH
2018-02-02  0:25   ` Srivatsa S. Bhat [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=2c9a88ae-89e5-e89e-ade3-3eebd2a26a85@csail.mit.edu \
    --to=srivatsa@csail.mit.edu \
    --cc=axboe@kernel.dk \
    --cc=bfields@fieldses.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jlayton@poochiereds.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=logang@deltatee.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

all inboxes | Powered by JetHome®