Skip to content
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

Merged
merged 1 commit into from
Oct 17, 2023

Commits on Oct 17, 2023

  1. testhelper: use 'random.randbytes' in generate_random_bytes

    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>
    Shachar Sharon committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    63f32d7 View commit details
    Browse the repository at this point in the history