froyo
froyo copied to clipboard
blockdev: Read metadata header from end of device if head md check fails
Right now, blockdev setup() reads metadata from the start of disk and returns an error if the crc is invalid. We should enhance this to read and try the tail copy. Maybe the head md was overwritten?