Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1249090

Re: [RFC][PATCH] mmc_block: Allow more than 8 partitions per card

From Austin S Hemmelgarn <ahferroin7@gmail.com>
Newsgroups linux.kernel
Subject Re: [RFC][PATCH] mmc_block: Allow more than 8 partitions per card
Date 2015-10-16 21:20 +0200
Message-ID <qkiHL-7dx-3@gated-at.bofh.it> (permalink)
References <qkieK-6nN-17@gated-at.bofh.it> <qkiy7-70o-27@gated-at.bofh.it> <qkiy6-70o-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 2015-10-16 15:08, Arnd Bergmann wrote:
> On Friday 16 October 2015 15:03:29 Austin S Hemmelgarn wrote:
>> On 2015-10-16 14:40, John Stultz wrote:
>>> From: Colin Cross <ccross@android.com>
>>>
>>> It is quite common for Android devices to utilize more
>>> then 8 partitions on internal eMMC storage. This patch,
>>> which has been carried for quite awhile in the AOSP common
>>> tree is necessary in order to support such configurations,
>>> so I wanted to submit it for consideration upstream.
>>
>> Isn't this what CONFIG_MMC_BLOCK_MINORS is for?  It does limit you to
>> 256 minors total, and therefore the number of supported MMC's is equal
>> to 256/CONFIG_MMC_BLOCK_MINORS, but I've never heard of an Android
>> device with support for more than 4 MMC/SD cards (including eMMC's), and
>> I would seriously question anyone who has the need for more than 32
>> partitions on the root device for a phone/tablet/television.
>
> The 256 minor limit is really arbitrary, we should not be limited by
> that, and you should have have to decide at compile time whether you
> might need many partitions or many devices, even if we believe that
> nobody will ever need both at the same time.
I didn't mean to imply that I disagree with any of that, I was just 
trying to get the point across that framing the problem this is trying 
to solve in such limited terms really isn't the best idea, although I 
could have gone about doing so in a better way.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC][PATCH] mmc_block: Allow more than 8 partitions per card John Stultz <john.stultz@linaro.org> - 2015-10-16 20:50 +0200
  Re: [RFC][PATCH] mmc_block: Allow more than 8 partitions per card Austin S Hemmelgarn <ahferroin7@gmail.com> - 2015-10-16 21:10 +0200
    Re: [RFC][PATCH] mmc_block: Allow more than 8 partitions per card Arnd Bergmann <arnd@arndb.de> - 2015-10-16 21:10 +0200
      Re: [RFC][PATCH] mmc_block: Allow more than 8 partitions per card Austin S Hemmelgarn <ahferroin7@gmail.com> - 2015-10-16 21:20 +0200
    Re: [RFC][PATCH] mmc_block: Allow more than 8 partitions per card John Stultz <john.stultz@linaro.org> - 2015-10-16 21:40 +0200

csiph-web