On 09/20/2017 10:31 PM, Timofey Titovets wrote: > I was reading the kernel code and docs and didn't find anything about > some info like "cheksum type" as btrfs have for compression code. > (I only found some silent "hack" in btrfs-progs, that print "checksum > type", but get "checksum size") > > If i understood all correctly btrfs only store checksum size, i.e. 4 > for current CRC32C. The checksum type is set in the superblock: csum_type 0 (crc32c) csum_size 4 [...] So in the current design, you probably could have different checksum types, but you will have to choose one of them when creating a filesystem. -- Hans van Kranenburg -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
