On Thu, Jan 08, 2026 at 02:19:37AM -0700, Caleb Sander Mateos wrote: > From: Stanley Zhang <[email protected]> > > Add a function ublk_copy_user_integrity() to copy integrity information > between a request and a user iov_iter. This mirrors the existing > ublk_copy_user_pages() but operates on request integrity data instead of > regular data. Check UBLKSRV_IO_INTEGRITY_FLAG in iocb->ki_pos in > ublk_user_copy() to choose between copying data or integrity data. > > Signed-off-by: Stanley Zhang <[email protected]> > [csander: change offset units from data bytes to integrity data bytes, > fix CONFIG_BLK_DEV_INTEGRITY=n build, rebase on user copy refactor] > Signed-off-by: Caleb Sander Mateos <[email protected]>
Reviewed-by: Ming Lei <[email protected]> Thanks, Ming
