diff options
author | Keith Busch <[email protected]> | 2024-09-13 11:28:49 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-09-13 12:31:45 -0600 |
commit | 0d7cb52fe417dde4bc9e8d01fadd8c0ec69612cd (patch) | |
tree | aea1ef7a6649cc117a9a8ed170c6b5ff3fe52b42 /drivers/fpga/fpga-bridge.c | |
parent | d148d7503456556859c7e4d354115215d8fb5016 (diff) |
blk-integrity: consider entire bio list for merging
If a bio is merged to a request, the entire bio list is merged, so don't
temporarily detach it from its list when counting segments. In most
cases, bi_next will already be NULL, so detaching is usually a no-op.
But if the bio does have a list, the current code is miscounting the
segments for the resulting merge.
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions