open-cas-linux/modules/cas_cache
Robert Baldyga b00de9c940 Use available memory statistic when possible
Update function returning size of free memory to use available statistic
if that's supported by given kernel. This function is used to check
whether there is enough memory to start cache, and available statistic is
preferred for this check over free statistic, as it does include size of
page cache allocations which can be easily reclaimed by the system.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-10-12 08:12:42 +02:00
..
utils Integrate kmemleak into CAS 2022-09-26 15:44:16 +02:00
volume Remove blkdev_can_hndl_bio() function 2022-09-27 16:39:33 +02: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 Merge exp obj create/activate 2022-09-23 14:21:37 +02:00
exp_obj.h Merge exp obj create/activate 2022-09-23 14:21:37 +02:00
layer_cache_management.c Merge exp obj create/activate 2022-09-23 14:21:37 +02: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 Consolidate modules 2022-09-16 15:16:28 +02: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 Wait for cleaner thread completion before destroying priv 2022-04-07 14:07:06 +02:00
threads.h Fix license 2021-10-28 12:46:42 +02:00