Skip to content

Apply segment size and segment boundary to integrity data

Christof Schmitt linux-scsi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1block: Apply segment size and boundary limits to integrity datablock/blk-integrity.c+16 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/1] Apply segment size and segment boundary to integrity data

While experimenting with the data integrity support in the Linux kernel, i found that the block layer integrity code can send integrity data segments for a request that do not adhere to the queue limits. The integrity data segment can be larger than queue_max_segment_size and the segment does not adhere to the queue_segment_boundary.

It appears to me that the right way would be to apply the same restrictions that are in place for data segments also to integrity data segments. The patch works for my experiments and applies on top of the current Linux tree (2.6.35-rc5).

Christof