-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mount: use 'random.randbytes' in _generate_random_bytes #29
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
From what I understand, PR #27 will need to be re-based to use this new code. Is this correct? |
Yes, but I just realized the CI is still using CentOS8 (with Python 3.6) so we will need also to wait for the transition to CentOS9-stream. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks OK to me.
1987149
to
17a5e4a
Compare
This particular PR is blocked because we do not use CentOS 9 which contains a newer version of python. This blocks the required test we run against xfs.
|
66e943f
to
399bd76
Compare
399bd76
to
48586aa
Compare
Now that we may assume Python-version>=3.9, use standard 'random.randbytes' function to generate semi-random I/O testing data. Improve function's doc string; emphasize that this function is defined to avoid random-pool exhaustion on host machine. Tested with CentOS9-stream. Signed-off-by: Shachar Sharon <ssharon@ibm.com>
48586aa
to
63f32d7
Compare
Now that we may assume Python-version>=3.9, use standard 'random.randbytes' function to generate semi-random I/O testing data. Improve function's doc string; emphasize that this function is defined to avoid random-pool exhaustion on host machine.