Re: [PATCH v2] t10-pi: reduce ref tag code duplication

From: Jens Axboe

Date: Fri Apr 17 2026 - 16:39:50 EST



On Wed, 15 Apr 2026 15:08:47 -0600, Caleb Sander Mateos wrote:
> t10_pi_ref_tag() and ext_pi_ref_tag() are identical except for the final
> truncation of the ref tag to 32 or 48 bits. Factor out a helper
> full_pi_ref_tag() to return the untruncated ref tag and use it in
> t10_pi_ref_tag() and ext_pi_ref_tag().

Applied, thanks!

[1/1] t10-pi: reduce ref tag code duplication
commit: 2f5015461984caa8ebf265a60b22f38c94d9c70a

Best regards,
--
Jens Axboe