aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorColin Cross <[email protected]>2015-10-22 10:00:41 -0700
committerUlf Hansson <[email protected]>2015-12-28 12:51:38 +0100
commit382c55f88ffeb218c446bf0c46d0fc25d2795fe2 (patch)
tree4fd2ac9e1260d2c06ddaf8b4b9b91728991e8f50 /tools/perf/scripts/python
parent520bd7a8b4152aacfbd34eb7f7a447354b631039 (diff)
mmc: block: Allow more than 8 partitions per card
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 patch, which has been carried for quite awhile in the AOSP common tree, provides an alternative solution that doesn't seem to limit the total card count. So I wanted to submit it for consideration upstream. This patch sets the GENHD_FL_EXT_DEVT flag, which will allocate minor number in major 259 for partitions past disk->minors. It also removes the use of disk_devt to determine devidx from md->disk. md->disk->first_minor is always initialized from devidx and can always be used to recover it. Cc: Ulf Hansson <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Ben Hutchings <[email protected]> Cc: Chuanxiao Dong <[email protected]> Cc: Shawn Lin <[email protected]> Cc: Austin S Hemmelgarn <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Android Kernel Team <[email protected]> Cc: [email protected] Signed-off-by: Colin Cross <[email protected]> [jstultz: Added context to commit message] Signed-off-by: John Stultz <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions