-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/rand: fix bug with non uint64_t aligned random buffer fill
Now that we honor the compression percentage, we can easily get buffer fills that are not aligned to uint64_t. Make sure that __fill_random_buf() handles this correctly. Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information
Showing
1 changed file
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters