sprandom: setup SPRandom before total_io_size is computed
authorTomas Winkler <tomas.winkler@sandisk.com>
Wed, 27 Aug 2025 07:01:54 +0000 (10:01 +0300)
committerTomas Winkler <tomas.winkler@sandisk.com>
Thu, 28 Aug 2025 07:17:20 +0000 (10:17 +0300)
commit224a7cc318423362f412aa826e4428c0c538ef71
treea2cf5f5398f87f84bc8d008b670aadb179f148eb
parentd6acda3d2e3992dbbb51e6ce2ba5d69e5ef85570
sprandom: setup SPRandom before total_io_size is computed

Move the sprandom_init() call to occur before total_io_size is computed,
in order to ensure correctly compute statitics.

Signed-off-by: Tomas Winkler <tomas.winkler@sandisk.com>
filesetup.c