Re: [PATCH] block: make sure ->nr_integrity_segments is cloned in blk_rq_prep_clone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 10, 2025 at 05:16:10PM +0800, Ming Lei wrote:
> Make sure ->nr_integrity_segments is cloned in blk_rq_prep_clone(),
> otherwise zero ->nr_integrity_segments will be observed in
> sg_alloc_table_chained(), in which BUG() is hit.

Maybe reword this to:

... otherwise requests cloned by device-mapper multipath will not
have the prope nr_integrity_segments values set?

The fact that sg_alloc_table_chained BUG⁽)s is just a symptom of that.

> Cc: stable@xxxxxxxxxxxxxxx

... and replace this with a proper Fixes tag?





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux