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 Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux