On 9/27/21 7:40 AM, Ammar Faizi wrote: > On Mon, Sep 27, 2021 at 8:28 PM Jens Axboe <axboe@xxxxxxxxx> wrote: >> >> On 9/26/21 10:37 PM, Ammar Faizi wrote: >>> The use of `rand()` should be accompanied by `srand()`. >> >> The idiomatic way that I usually do it for these tests is: >> >> srand(getpid()); >> >> Shouldn't really matter, but we may as well keep it consistent. > > v2: Use getpid() for the random seed. Applied, thanks. -- Jens Axboe