Skip to content

block: save page offset gaps in cloned bio - #1150

Open
blktests-ci[bot] wants to merge 1 commit into
linus-master_basefrom
series/1147324=>linus-master
Open

block: save page offset gaps in cloned bio#1150
blktests-ci[bot] wants to merge 1 commit into
linus-master_basefrom
series/1147324=>linus-master

Conversation

@blktests-ci

@blktests-ci blktests-ci Bot commented Aug 17, 2026

Copy link
Copy Markdown

Pull request for series with
subject: block: save page offset gaps in cloned bio
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1147324

@blktests-ci

blktests-ci Bot commented Aug 17, 2026

Copy link
Copy Markdown
Author

Upstream branch: 8d3ae59
series: https://patchwork.kernel.org/project/linux-block/list/?series=1147324
version: 1

@blktests-ci

blktests-ci Bot commented Aug 18, 2026

Copy link
Copy Markdown
Author

Upstream branch: 8d3ae59
series: https://patchwork.kernel.org/project/linux-block/list/?series=1147324
version: 1

@blktests-ci
blktests-ci Bot force-pushed the series/1147324=>linus-master branch from 03ea2f7 to 7f679da Compare August 18, 2026 15:51
@blktests-ci
blktests-ci Bot force-pushed the linus-master_base branch from 60442a3 to 3df366e Compare August 19, 2026 05:25
@blktests-ci

blktests-ci Bot commented Aug 19, 2026

Copy link
Copy Markdown
Author

Upstream branch: bd5f485
series: https://patchwork.kernel.org/project/linux-block/list/?series=1147324
version: 1

@blktests-ci
blktests-ci Bot force-pushed the series/1147324=>linus-master branch from 7f679da to 5f77b81 Compare August 19, 2026 05:37
@blktests-ci

blktests-ci Bot commented Aug 19, 2026

Copy link
Copy Markdown
Author

Upstream branch: bd5f485
series: https://patchwork.kernel.org/project/linux-block/list/?series=1148569
version: 1

@blktests-ci
blktests-ci Bot force-pushed the series/1147324=>linus-master branch from 5f77b81 to 4ff1505 Compare August 19, 2026 16:05
@blktests-ci

blktests-ci Bot commented Aug 19, 2026

Copy link
Copy Markdown
Author

Upstream branch: bd5f485
series: https://patchwork.kernel.org/project/linux-block/list/?series=1148569
version: 1

The cloned bio needs to inherit the accumulated gaps between vectors so
that we can know if this bio can subscribe to the iova coalescing
optimization.

When cloning for a split, the gap only applies to the front bio since
that's as far as has been processed. The remaining bio can reset its
gaps to 0 since it advanced past the checked vectors, and will start its
accounting from there on the next split check.

Fixes: 2f6b256 ("block: accumulate memory segment gaps per bio")
Reported-by: Eric Auger <eauger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
@blktests-ci
blktests-ci Bot force-pushed the series/1147324=>linus-master branch from 4ff1505 to c926047 Compare August 19, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant