Searched refs:crc_old (Results 1 – 1 of 1) sorted by relevance
401 struct bch_extent_crc_unpacked crc_old, in bch2_rechecksum_bio() argument408 struct nonce nonce = extent_nonce(version, crc_old); in bch2_rechecksum_bio()420 bool mergeable = crc_old.csum_type == new_csum_type && in bch2_rechecksum_bio()422 unsigned crc_nonce = crc_old.nonce; in bch2_rechecksum_bio()425 BUG_ON(crc_old.uncompressed_size != bio_sectors(bio)); in bch2_rechecksum_bio()426 BUG_ON(crc_is_compressed(crc_old)); in bch2_rechecksum_bio()427 BUG_ON(bch2_csum_type_is_encryption(crc_old.csum_type) != in bch2_rechecksum_bio()445 merged = bch2_checksum_bio(c, crc_old.csum_type, in bch2_rechecksum_bio()446 extent_nonce(version, crc_old), bio); in bch2_rechecksum_bio()448 if (bch2_crc_cmp(merged, crc_old.csum) && !c->opts.no_data_io) { in bch2_rechecksum_bio()[all …]