Fix bad setting of td->o.ddir_seq_nr in add_job()
authorAdam DeBellins <ADeBellis@fusionio.com>
Tue, 28 Sep 2010 04:22:55 +0000 (13:22 +0900)
committerJens Axboe <jaxboe@fusionio.com>
Tue, 28 Sep 2010 04:22:55 +0000 (13:22 +0900)
commitcdd5411e02b05f5c9fd305a0f07f58e3abef4d5e
tree62f3d4d9019590f2b814359049be79bc821a7037
parenta3edaf76b30880c3bf4455c30614ce88cdbbe071
Fix bad setting of td->o.ddir_seq_nr in add_job()

This defaults to 1, but add_job() adds 1 again which means
that the random isn't always effective since every alternate
IO gets to bypass that logic.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
init.c