Files
open-cas-linux/modules
Michal Mielewczyk 4753374b1b Change CAS_BIO_MAX_VECS value
Previously when user tried to allocate to big bio he recieved NULL. As the
behavior was changed to `BUG()` passing out of range value is no longer legal.

Limiting the requested bio size to BIO_MAX_PAGES (on the older kernels) or to
BIO_MAX_VECS (on the newer ones) eliminates the problem as the macros represent
the max possible value.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-12-28 13:59:20 +01:00
..
2022-12-28 13:59:20 +01:00
2021-10-28 12:46:42 +02:00
2021-10-28 12:46:42 +02:00
2022-09-16 15:16:28 +02:00