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
..
utils Integrate kmemleak into CAS 2022-09-26 15:44:16 +02:00
volume Change CAS_BIO_MAX_VECS value 2022-12-28 13:59:20 +01:00
.gitignore Initial commit 2019-03-29 08:45:50 +01:00
cas_cache.h Remove disk kobj 2022-09-23 14:21:37 +02:00
classifier_defs.h Fix license 2021-10-28 12:46:42 +02:00
classifier.c Make sure classifier string is null terminated 2022-04-08 16:42:25 +02:00
classifier.h Fix license 2021-10-28 12:46:42 +02:00
context.c Integrate kmemleak into CAS 2022-09-26 15:44:16 +02:00
context.h Rework for RHEL8.5 2022-08-16 13:50:59 +02:00
control.c Fix license 2021-10-28 12:46:42 +02:00
control.h Fix license 2021-10-28 12:46:42 +02:00
debug.h Remove cas_disk from naming in code 2022-09-19 10:38:21 +02:00
disk.c Move major/minor management to exported object code 2022-09-23 14:21:37 +02:00
disk.h Move major/minor management to exported object code 2022-09-23 14:21:37 +02:00
exp_obj.c Kernel 6.0 support 2022-10-28 09:41:43 +02:00
exp_obj.h Merge exp obj create/activate 2022-09-23 14:21:37 +02:00
layer_cache_management.c Open CAS Linux kernel 5.18 support 2022-10-24 09:53:01 +00:00
layer_cache_management.h Fix required memory check in the fallback path 2022-06-22 20:41:27 +02:00
linux_kernel_version.h Open CAS Linux kernel 5.18 support 2022-10-24 09:53:01 +00:00
main.c Remove cas_disk from naming in code 2022-09-19 10:38:21 +02:00
Makefile Fix license 2021-10-28 12:46:42 +02:00
ocf_env_headers.h Fix license 2021-10-28 12:46:42 +02:00
ocf_env.c Integrate kmemleak into CAS 2022-09-26 15:44:16 +02:00
ocf_env.h Use available memory statistic when possible 2022-10-12 08:12:42 +02:00
service_ui_ioctl.c Fix required memory check in the fallback path 2022-06-22 20:41:27 +02:00
service_ui_ioctl.h Remove cas_disk from naming in code 2022-09-19 10:38:21 +02:00
threads.c Open CAS Linux kernel 5.18 support 2022-10-24 09:53:01 +00:00
threads.h Fix license 2021-10-28 12:46:42 +02:00