open-cas-linux/casadm
Adam Rutkowski 68b68db9c0 Zero metadata if on-disk version differs from current
Kernel adapter now returns is_cache_device=1 and newly added
metadata_compatible=0 in case of metadata detected with
differing version (instead of is_cache_device = 0).

This allows zero-superblock command to recognize old
cache instance and clear it.

casadm --script --check-cache-device still returns 'Is cache'='no'
in this case, as this layer only cares about metadata in current
version to be able to detect dirty datas tatus.

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-01-21 14:47:54 -06:00
..
safeclib Add strcmp_s and strncmp_s to safe string library 2020-11-26 10:35:23 +01:00
argp.c Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
argp.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
cas_lib_utils.c Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
cas_lib_utils.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
cas_lib.c Zero metadata if on-disk version differs from current 2021-01-21 14:47:54 -06:00
cas_lib.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
cas_main.c Merge pull request #648 from rafalste/update_copyright 2021-01-21 13:27:51 +01:00
csvparse.c Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
csvparse.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
extended_err_msg.c Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
extended_err_msg.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
intvector.c Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
intvector.h Update copyright statements (2021) 2021-01-21 13:15:38 +01: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.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
psort.c Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
psort.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
statistics_model.c Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
statistics_view_csv.c Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
statistics_view_csv.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
statistics_view_raw_csv.c Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
statistics_view_raw_csv.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
statistics_view_structs.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
statistics_view_text.c Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
statistics_view_text.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
statistics_view.c Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
statistics_view.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
table.c Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
table.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
upgrade.c Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
upgrade.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00
vt100codes.h Update copyright statements (2021) 2021-01-21 13:15:38 +01:00