aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2025-03-10 11:54:53 +0000
committerJens Axboe <[email protected]>2025-03-10 13:41:25 +0000
commitfc0e982b8a3a169b1c654d9a1aa45bf292943ef2 (patch)
tree07471a0263279afbff0b8e5e6f0cc96414cb8786 /tools/testing/selftests/net/lib/py/utils.py
parentblock: protect hctx attributes/params using q->elevator_lock (diff)
downloadkernel-fc0e982b8a3a169b1c654d9a1aa45bf292943ef2.tar.gz
kernel-fc0e982b8a3a169b1c654d9a1aa45bf292943ef2.zip
block: make sure ->nr_integrity_segments is cloned in blk_rq_prep_clone
Make sure ->nr_integrity_segments is cloned in blk_rq_prep_clone(), otherwise requests cloned by device-mapper multipath will not have the proper nr_integrity_segments values set, then BUG() is hit from sg_alloc_table_chained(). Fixes: b0fd271d5fba ("block: add request clone interface (v2)") Cc: [email protected] Cc: Christoph Hellwig <[email protected]> Signed-off-by: Ming Lei <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions