On Mon, 17 Feb 2025 12:33:54 +0100, Ahmad Fatoum wrote: > As a comment in the file notes, doing too small a granularity for erases > has considerable effect on performance: > > > Example Samsung eMMC 8GTF4: > > > > time erase /dev/mmc2.part_of_512m # 1024 trims > > time: 2849ms > > > > time erase /dev/mmc2.part_of_512m # single trim > > time: 56ms > > [...] Applied, thanks! [1/2] mci: core: import Linux logic for higher preferred erase size https://git.pengutronix.de/cgit/barebox/commit/?id=cffa32cbd510 (link may not be stable) [2/2] mci: core: reset ERASE_GRP_DEF on startup https://git.pengutronix.de/cgit/barebox/commit/?id=b2c8b27dd73d (link may not be stable) Best regards, -- Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>