]> www.infradead.org Git - mtd-utils.git/commit
mtd-tests: flash_speed: Clarify the number of pages in each set while measuring
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 26 Aug 2024 09:46:26 +0000 (11:46 +0200)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Tue, 8 Oct 2024 06:14:50 +0000 (08:14 +0200)
commita22a7fe5636a1babcc2fa0a9b3836c3ce5f3d0fd
tree0d0e10be33bed84d45a538efa89c658dde268e75
parent7bd5cb8ce3c9d5ee58bcae82aa81f078448d45d2
mtd-tests: flash_speed: Clarify the number of pages in each set while measuring

So far speed calculations have only be done 1 page at a time or 2 pages
at a time in a block; so basically all the block was always read because
all blocks are multiple of 2. But in the future, if we want to extend
the number of pages in a single read, the final number of pages actually
read might be less than an erase block size, hence failing the throuput
calculations.

Make the number of pages in a set explicit.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
tests/mtd-tests/flash_speed.c