block: support PI at non-zero offset within metadata
Block layer integrity processing assumes that protection information (PI) is placed in the first bytes of each metadata block. Remove this limitation and include the metadata before the PI in the calculation of the guard tag. Signed-off-by:Kanchan Joshi <joshi.k@samsung.com> Signed-off-by:
Chinmay Gameti <c.gameti@samsung.com> Reviewed-by:
Sagi Grimberg <sagi@grimberg.me> Reviewed-by:
Martin K. Petersen <martin.petersen@oracle.com> Link: https://lore.kernel.org/r/20240201130126.211402-3-joshi.k@samsung.com Signed-off-by:
Jens Axboe <axboe@kernel.dk>
parent
6b5c132a
Please register or sign in to comment