Excerpts from Arnd Bergmann's message of Mon Apr 04 04:27:52 +0200 2011:
This is not well supported in flashbench, but what you can try is pass a blocksize and erasesize that are a multiple of three:
flashbench -a /dev/mmcblk0 --blocksize=1536 --count=100
I'm afraid that doesn't work:
flashtest@flatty:~/flashbench$ time ./flashbench -a /dev/mmcblk0 --blocksize=1536 --count=100 time_read: Invalid argument time_read: Invalid argument time_read: Invalid argument [...]
physical_block_size, hw_sector_size, logical_block_size and minimum_io_size all read 512, so I don't understand why the pread() fails with odd multiples of 512 (512, 1536, 2560). Multiples of 1024 (1024, 2048, 3072) work fine.
Sascha