Files
open-cas-linux/modules/cas_cache
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-09-26 15:44:16 +02:00
2022-12-28 13:59:20 +01:00
2019-03-29 08:45:50 +01:00
2022-09-23 14:21:37 +02:00
2021-10-28 12:46:42 +02:00
2021-10-28 12:46:42 +02:00
2022-09-26 15:44:16 +02:00
2022-08-16 13:50:59 +02:00
2021-10-28 12:46:42 +02:00
2021-10-28 12:46:42 +02:00
2022-09-19 10:38:21 +02:00
2022-10-28 09:41:43 +02:00
2022-09-23 14:21:37 +02:00
2022-09-19 10:38:21 +02:00
2021-10-28 12:46:42 +02:00
2021-10-28 12:46:42 +02:00
2022-09-26 15:44:16 +02:00
2022-10-24 09:53:01 +00:00
2021-10-28 12:46:42 +02:00