Merge pull request #1139 from robertbaldyga/better-error-on-crc-mismatch
Return more specific error on metadata CRC mismatch
This commit is contained in:
		| @@ -158,6 +158,10 @@ struct { | ||||
| 		OCF_ERR_SUPERBLOCK_MISMATCH, | ||||
| 		"Metadata on the device doesn't match with metadata in DRAM" | ||||
| 	}, | ||||
| 	{ | ||||
| 		OCF_ERR_CRC_MISMATCH, | ||||
| 		"Metadata checksum is not correct. Metadata is damaged" | ||||
| 	}, | ||||
| 	{ | ||||
| 		OCF_ERR_CACHE_NAME_MISMATCH, | ||||
| 		"Cache id specified by user and loaded from metadata are different" | ||||
|   | ||||
							
								
								
									
										2
									
								
								ocf
									
									
									
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								ocf
									
									
									
									
									
								
							 Submodule ocf updated: 174f7b5c2b...cf2d4327a1
									
								
							
		Reference in New Issue
	
	Block a user
	 Robert Baldyga
					Robert Baldyga