Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1339154
| From | Pavel Machek <pavel@ucw.cz> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: mmc: Add CONFIG_MMC_BLOCK_MAX_SPEED |
| Date | 2016-02-22 07:50 +0100 |
| Message-ID | <r4StH-1HJ-7@gated-at.bofh.it> (permalink) |
| References | <qYyR4-6Xw-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi! On Thu 2016-02-04 12:29:07, Mark Salyzyn wrote: > When CONFIG_MMC_BLOCK_MAX_SPEED is enabled, Expose max_read_speed, > max_write_speed and cache_size controls to simulate a slow eMMC device. > The boot default values for each respectively are > CONFIG_MMC_BLOCK_MAX_READ_SPEED, CONFIG_MMC_BLOCK_MAX_WRITE_SPEED and > CONFIG_MMC_BLOCK_CACHE_SIZE respectively; and if not defined are > 0 (off), 0, (off) and 4 MB also respectively. Extra , after 0. Dunno. At minimum, I'd call the option something like "MMC_DEBUG_MAX_SPEED" and the speeds should be really controlled via /sys or something... ...and ... is there reason to limit it to mmc devices? Making harddrive slow would make it useful for testing, too... ...and you have the /sys interface. Drop the config options? Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: mmc: Add CONFIG_MMC_BLOCK_MAX_SPEED Pavel Machek <pavel@ucw.cz> - 2016-02-22 07:50 +0100
Re: mmc: Add CONFIG_MMC_BLOCK_MAX_SPEED Mark Salyzyn <salyzyn@android.com> - 2016-02-22 17:10 +0100
Re: mmc: Add CONFIG_MMC_BLOCK_MAX_SPEED Mark Salyzyn <salyzyn@android.com> - 2016-02-22 18:30 +0100
csiph-web