open-cas-linux/modules/cas_cache
Robert Baldyga 2a35bd09be Introduce lazy helper thread abstraction to avoid hung task
Some helper threads are created at the very beginning of cache start/stop
operations, but they are used only after OCF start/stop finishes, which
may take significant amount of time. Kernel by default creates threads
that wait for the first wake up in uninterruptible state, which may trigger
hung task warning if the first wake up is called more than 120 seconds
after thread creation. To mitigate this problem we create lazy thread
abstraction that waits for a wake up in interruptible state.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-07-13 10:07:25 +02:00
..
utils Update OCF 2021-06-21 21:57:10 +02:00
volume Split big IO requests 2021-07-07 18:52:22 +02:00
.gitignore Initial commit 2019-03-29 08:45:50 +01:00
cas_cache.h Typo fix 2021-05-13 17:02:05 +02:00
classifier_defs.h Classifier alignment 2021-03-22 08:26:55 +01:00
classifier.c OCF update (removed configurable eviction policy) 2021-06-21 22:56:51 +02:00
classifier.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
context.c Update OCF 2021-06-21 21:57:10 +02:00
context.h Split big IO requests 2021-07-07 18:52:22 +02:00
control.c Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
control.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
layer_cache_management.c Introduce lazy helper thread abstraction to avoid hung task 2021-07-13 10:07:25 +02:00
layer_cache_management.h Introduce "remove inactive core" to cas_cache module 2021-03-10 14:39:07 +01:00
layer_upgrade.c General structure packing 2021-03-22 08:26:55 +01:00
layer_upgrade.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
linux_kernel_version.h Add detection of ktime_get_real_ts64 vs getnstimeofday 2021-03-26 13:46:09 +01:00
main.c Typo fix 2021-05-13 17:02:05 +02:00
Makefile Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
ocf_env_headers.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
ocf_env.c Update OCF 2021-06-21 21:57:10 +02:00
ocf_env.h Update OCF 2021-06-21 21:57:10 +02:00
service_ui_ioctl.c Add KCAS_IOCTL_REMOVE_INACTIVE request to cas_cache module 2021-03-10 14:39:07 +01:00
service_ui_ioctl.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
threads.c Update OCF 2021-06-21 21:57:10 +02:00
threads.h Update OCF 2021-06-21 21:57:10 +02:00