commit | c32531a81a6206588ebb6b2413675c715dccb76e | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Sun Mar 27 22:06:57 2011 +0200 |
committer | Arnd Bergmann <arnd@arndb.de> | Sun Mar 27 22:06:57 2011 +0200 |
tree | 1eb1bb15496c6a7a4c80bb91e03acdab006a358f | |
parent | 61472b698bb573ec135982d55749394c276140b6 [diff] |
flashbench: add --offset command line argument This makes it easier to do the --open-au test case on drives whose erase block is not a power of two. Note that for those, you have to pass a blocksize that is also not a power of two, but a fraction of the erase size, e.g. flashbench --open-au --random --open-au-nr=6 \ --erasesize=$[3 * 1024 * 1024] \ --blocksize=$[24 * 1024] \ --offset=$[24 * 1024 * 1024] \ /dev/sde Signed-off-by: Arnd Bergmann <arnd@arndb.de>