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

From: Ben Hutchings
Date: Thu Oct 22 2015 - 14:13:27 EST


On Thu, 2015-10-22 at 19:07 +0100, Ben Hutchings wrote:
> On Thu, 2015-10-22 at 10:00 -0700, John Stultz wrote:
> > From: Colin Cross <ccross@xxxxxxxxxxx>
> >
> > It is quite common for Android devices to utilize more
> > then 8 partitions on internal eMMC storage.
> >
> > The vanilla kernel can support this via
> > CONFIG_MMC_BLOCK_MINORS, however that solution caps the
> > system to 256 minors total, which limits the number of
> > mmc cards the system can support.
> [...]
>
> This commit was intended to allow support for 256 cards with any number
> of partitions:
>
> commit a26eba614afff0e39594101bcb73014a9a22fb33
> Author: Ben Hutchings <ben@xxxxxxxxxxxxxxx>
> Date:ÂÂÂThu Nov 6 03:35:09 2014 +0000
>
> ÂÂÂÂmmc: block: Increase max_devices
>
> I don't think the new patch is sufficient or necessary to increase the
> limit further.

Of course, this does allow use of more than any predefined number of
partitions per card, the same as sd can. ÂSo it still has some
usefulness, though the commit message seems to overstate that.

Ben.

> Do you have a compatibility requirement to retain the numbering of the
> first 7 partitions?
>
> Ben.
>
--
Ben Hutchings
Q. Which is the greater problem in the world today, ignorance or apathy?
A. I don't know and I couldn't care less.

Attachment: signature.asc
Description: This is a digitally signed message part