diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-06-06 05:50:07 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-06-06 05:50:07 +0200 |
commit | 2e30b1968a66147412f21002ea844122a0d5e2f0 (patch) | |
tree | ba236d322d2e6a9031ecad7ea20366bc6070de01 | |
parent | 90dd6ca64647579a774a510422ca7e55beb666c7 (diff) |
This helps with TLC memory when while guessing the erase block size,
so that the guessed erase block start is at the start of the actual
erase block.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | flashbench.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flashbench.c b/flashbench.c index 0a1016f..5fffe63 100644 --- a/flashbench.c +++ b/flashbench.c @@ -538,7 +538,7 @@ static int try_open_au(struct device *dev, unsigned int erasesize, { (random ? O_OFF_RAND : O_OFF_LIN), erasesize / blocksize, -1}, {O_REDUCE, .aggregate = A_AVERAGE}, - {O_OFF_RAND, count, 4 * erasesize}, {O_WRITE_RAND}, + {O_OFF_RAND, count, 12 * erasesize}, {O_WRITE_RAND}, {O_NEWLINE}, {O_END}, {O_END}, |