[PATCH for-next v4 1/4] block: rename tuple_size field in blk_integrity to metadata_size

Christoph Hellwig hch at infradead.org
Sun Jun 22 22:29:33 PDT 2025


On Wed, Jun 18, 2025 at 11:21:50AM +0530, Anuj Gupta wrote:
> @@ -299,7 +299,7 @@ static blk_status_t ext_pi_crc64_verify(struct blk_integrity_iter *iter,
>  static void ext_pi_type1_prepare(struct request *rq)
>  {
>  	struct blk_integrity *bi = &rq->q->limits.integrity;
> -	const int tuple_sz = bi->tuple_size;
> +	const int tuple_sz = bi->metadata_size;

I guess keeping tuple here is fine because we're deep into PI code.

The rest looks good as well:

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the Linux-nvme mailing list