block/crypto: create ciphers on demand
Merge Request Required Information
Summary of Changes
Upstream status: merged
Brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=62054040
Jira: https://issues.redhat.com/browse/RHEL-36159
The number of threads using the crypto block driver is unknown at instantiation time. This backport modifies the code to handle arbitrary numbers of threads, solving the assertion failure.
Signed-off-by: Stefan Hajnoczi
Approved Development Ticket
All submissions to CentOS Stream must reference an approved ticket in Red Hat Jira. Please follow the CentOS Stream contribution documentation for how to file this ticket and have it approved.
Edited by Stefan Hajnoczi