open-cas-linux/modules/cas_cache
Jan Musial 19c334c4cf Move classifier init after cache device attach completion
Right now the classifier is instantiated before device is attached.
This way if we have any IO-classes present on cache device the
classifier will have no knowledge of them and fail to classify IO
correctly.

After moving the classifier init to cache finalization routine we have
all the information needed to initialize properly both in new instance
start path and in load path.

Signed-off-by: Jan Musial <jan.musial@intel.com>
2020-02-25 14:00:07 +01:00
..
utils Casadm update 2020-01-15 14:30:58 +01:00
volume cas_cache: use underscore instead of space in volume type name 2020-01-16 17:47:57 +01:00
.gitignore Initial commit 2019-03-29 08:45:50 +01:00
cas_cache.h OCF update 2019-10-01 10:32:03 +02:00
classifier_defs.h Introducing a new IO class caching rule - file name prefix 2019-12-27 14:08:32 +01:00
classifier.c classifier: use secure versions of strcmp and strcpy 2020-01-25 04:54:56 -05:00
classifier.h Initial commit 2019-03-29 08:45:50 +01:00
context.c Relax allocations requirements 2019-10-23 16:04:27 -04:00
context.h Use new functions for creating and destroying ocf_ctx 2019-05-24 18:24:51 +02:00
control.c Initial commit 2019-03-29 08:45:50 +01:00
control.h Initial commit 2019-03-29 08:45:50 +01:00
layer_cache_management.c Move classifier init after cache device attach completion 2020-02-25 14:00:07 +01:00
layer_cache_management.h Adapt to new OCF PP param set/get API. 2019-10-01 06:54:32 -04:00
layer_upgrade.c Fix upgrade errors 2020-01-14 09:53:03 +01:00
layer_upgrade.h Initial commit 2019-03-29 08:45:50 +01:00
linux_kernel_version.h Add blk-mq.h include to linux_kernel_version.h 2019-09-26 16:16:27 +02:00
main.c Fix legacy error messages. 2020-01-02 09:22:13 -05:00
Makefile Initial commit 2019-03-29 08:45:50 +01:00
ocf_env_headers.h Initial commit 2019-03-29 08:45:50 +01:00
ocf_env.c Relax allocations requirements 2019-10-23 16:04:27 -04:00
ocf_env.h env: implement vmalloc with GFP flags 2020-02-14 14:30:12 +01:00
service_ui_ioctl.c OCF update 2019-10-01 10:32:03 +02:00
service_ui_ioctl.h Initial commit 2019-03-29 08:45:50 +01:00
threads.c Free memory of all allocated threads. 2020-01-13 06:38:07 -05:00
threads.h Added possibility to disable cleaner thread. 2019-05-10 09:47:53 -04:00