Re: [PATCH 13/14] lib: Add T10 Protection Information functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>  static struct blk_integrity dif_type1_integrity_crc = {

>
>  	.name			= "T10-DIF-TYPE1-CRC",
> -	.generate_fn		= sd_dif_type1_generate_crc,
> -	.verify_fn		= sd_dif_type1_verify_crc,
> -	.tuple_size		= sizeof(struct sd_dif_tuple),
> +	.generate_fn		= t10_pi_type1_generate_crc,
> +	.verify_fn		= t10_pi_type1_verify_crc,
> +	.tuple_size		= sizeof(struct t10_pi_tuple),
>  	.tag_size		= 0,
>  };

Shouldn't the whole profile defintions move to the generic
code as well?  Maybe the code also should live in block/ and not lib/.

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux