open-cas-linux/modules/cas_cache
Robert Baldyga 4c431bf71c Return error on cache mode change in standby mode
Changing cache mode to the same mode is a special case that in OCL is
handled on the kernel level, without calling an OCF API. In result it
seemed to succeed even in standby mode, which should return an error.

Explicitly check for standby to return an appropriate error code.


Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-03-27 21:31:29 +02:00
..
utils Remove unused error code 2022-03-09 15:52:47 +01:00
volume Propagate io->dir flags when submitting flush bio in bottom volume 2022-03-17 20:43:15 +01:00
.gitignore Initial commit 2019-03-29 08:45:50 +01:00
cas_cache.h Fix license 2021-10-28 12:46:42 +02:00
classifier_defs.h Fix license 2021-10-28 12:46:42 +02:00
classifier.c Fix license 2021-10-28 12:46:42 +02:00
classifier.h Fix license 2021-10-28 12:46:42 +02:00
context.c Fix license 2021-10-28 12:46:42 +02:00
context.h Fix license 2021-10-28 12:46:42 +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
layer_cache_management.c Return error on cache mode change in standby mode 2022-03-27 21:31:29 +02:00
layer_cache_management.h Redesign failover standby management 2022-01-05 16:17:52 +01:00
linux_kernel_version.h Fix license 2021-10-28 12:46:42 +02:00
main.c Remove "metadata_layout" module parameter 2022-03-08 08:53:47 +01: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 Fix license 2021-10-28 12:46:42 +02:00
ocf_env.h Fix license 2021-10-28 12:46:42 +02:00
service_ui_ioctl.c Redesign failover standby management 2022-01-05 16:17:52 +01:00
service_ui_ioctl.h Fix license 2021-10-28 12:46:42 +02:00
threads.c Fix license 2021-10-28 12:46:42 +02:00
threads.h Fix license 2021-10-28 12:46:42 +02:00