Skip to content

Conversation

@blktests-ci
Copy link

@blktests-ci blktests-ci bot commented Jan 6, 2026

Pull request for series with
subject: block: add a bio_reuse helper
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1038846

@blktests-ci
Copy link
Author

blktests-ci bot commented Jan 6, 2026

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

@blktests-ci
Copy link
Author

blktests-ci bot commented Jan 8, 2026

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

@blktests-ci blktests-ci bot force-pushed the series/1034444=>linus-master branch from 7c448f8 to a60109f Compare January 8, 2026 01:02
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from a2a6d78 to f962a4d Compare January 9, 2026 04:56
@blktests-ci
Copy link
Author

blktests-ci bot commented Jan 9, 2026

Upstream branch: 623fb99
series: https://patchwork.kernel.org/project/linux-block/list/?series=1038846
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1034444=>linus-master branch from a60109f to db38d30 Compare January 9, 2026 05:00
@blktests-ci
Copy link
Author

blktests-ci bot commented Jan 9, 2026

Upstream branch: 623fb99
series: https://patchwork.kernel.org/project/linux-block/list/?series=1038846
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1034444=>linus-master branch from db38d30 to e5ec569 Compare January 9, 2026 12:15
@blktests-ci
Copy link
Author

blktests-ci bot commented Jan 9, 2026

Upstream branch: 623fb99
series: https://patchwork.kernel.org/project/linux-block/list/?series=1038846
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1034444=>linus-master branch from e5ec569 to 0330b4e Compare January 9, 2026 12:20
Add a helper to allow an existing bio to be resubmitted withtout
having to re-add the payload.

Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hans Holmberg <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Reviewed-by: Carlos Maiolino <[email protected]>
@blktests-ci
Copy link
Author

blktests-ci bot commented Jan 9, 2026

Upstream branch: 623fb99
series: https://patchwork.kernel.org/project/linux-block/list/?series=1038846
version: 1

Christoph Hellwig added 2 commits January 9, 2026 21:30
Replace our somewhat fragile code to reuse the bio, which caused a
regression in the past with the block layer bio_reuse helper.

Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hans Holmberg <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Reviewed-by: Carlos Maiolino <[email protected]>
The double buffering where just one scratch area is used at a time does
not efficiently use the available memory.  It was originally implemented
when GC I/O could happen out of order, but that was removed before
upstream submission to avoid fragmentation.  Now that all GC I/Os are
processed in order, just use a number of buffers as a simple ring buffer.

For a synthetic benchmark that fills 256MiB HDD zones and punches out
holes to free half the space this leads to a decrease of GC time by
a little more than 25%.

Thanks to Hans Holmberg <[email protected]> for testing and
benchmarking.

Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hans Holmberg <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Reviewed-by: Carlos Maiolino <[email protected]>
@blktests-ci blktests-ci bot force-pushed the series/1034444=>linus-master branch from 0330b4e to d78ee46 Compare January 9, 2026 12:30
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