On Mon, 11 May 2026 15:22:30 -0600, Casey Chen wrote:
> blk_insert_cloned_request() already recomputes nr_phys_segments
> against the bottom queue, because "the queue settings related to
> segment counting may differ from the original queue." The exact same
> reasoning applies to integrity segments: a stacked driver's underlying
> queue can have tighter virt_boundary_mask, seg_boundary_mask, or
> max_segment_size than the top queue, in which case
> blk_rq_count_integrity_sg() against the bottom queue produces a
> different count than the cached rq->nr_integrity_segments inherited
> from the source request by blk_rq_prep_clone().
> 
> [...]

Applied, thanks!

[1/1] block: recompute nr_integrity_segments in blk_insert_cloned_request
      commit: 2c6e6a18a37b905cb584eb0dda3ae482162a81ca

Best regards,
-- 
Jens Axboe




Reply via email to