All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Weinberger <richard@nod.at>
To: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Cc: gwendal@chromium.org, computersforpeace@gmail.com,
	linux-mtd@lists.infradead.org,
	Artem Bityutskiy <dedekind1@gmail.com>,
	Dan Ehrenberg <dehrenberg@chromium.org>
Subject: Re: [PATCH v3] UBI: block: Dynamically allocate minor numbers
Date: Tue, 02 Jun 2015 11:37:10 +0200	[thread overview]
Message-ID: <556D7946.3000909@nod.at> (raw)
In-Reply-To: <5536D5C4.1010701@vanguardiasur.com.ar>

Am 22.04.2015 um 00:57 schrieb Ezequiel Garcia:
> 
> 
> On 03/19/2015 11:38 AM, Ezequiel Garcia wrote:
>>
>>
>> On 03/17/2015 02:37 PM, Dan Ehrenberg wrote:
>>> This patch makes ubiblock devices have minor numbers beginning from
>>> 0, allocated dynamically independently of the ubi device/volume
>>> number. This property becomes useful because, on 32-bit architectures
>>> with LFS turned off in a userspace program, device minor numbers
>>> over 8 bits cause stat to return -EOVERFLOW. If the device number is
>>> high (>1) due to multiple MTD partitions, such an overflow will occur.
>>> While enabling LFS is clearly a nicer solution, it's often difficult
>>> to turn on in practice globally as many widely distributed packages
>>> don't work with LFS on.
>>>
>>> Other storage systems have their own workarounds, with SCSI making
>>> multiple device majors and MMC having a config option for the number
>>> of partitions per device. A completely dynamic minor numbering is
>>> simpler than these. It is unlikely that anyone is depending on a
>>> static minor number since the major is dynamic anyway. In addition,
>>> ubiblock is still relatively new, so now is the time to make such
>>> changes.
>>>
>>> Signed-off-by: Dan Ehrenberg <dehrenberg@chromium.org>
>>>
>>
>> Acked-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
>>
> 
> Hm.. it seems this one fell through the cracks :/ Richard?

Yep. :(
Applied to my 4.2 queue!

Thanks everyone!
//richard

      reply	other threads:[~2015-06-02  9:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-17 17:37 [PATCH v3] UBI: block: Dynamically allocate minor numbers Dan Ehrenberg
2015-03-19 14:38 ` Ezequiel Garcia
2015-04-21 22:57   ` Ezequiel Garcia
2015-06-02  9:37     ` Richard Weinberger [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=556D7946.3000909@nod.at \
    --to=richard@nod.at \
    --cc=computersforpeace@gmail.com \
    --cc=dedekind1@gmail.com \
    --cc=dehrenberg@chromium.org \
    --cc=ezequiel@vanguardiasur.com.ar \
    --cc=gwendal@chromium.org \
    --cc=linux-mtd@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.