-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
Adam Rutkowski
committed
Jan 21, 2021
1 parent
63eb23b
commit 68b68db
Showing
3 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters