Skip to content

block: Remove redundant plug in __submit_bio()#972

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

block: Remove redundant plug in __submit_bio()#972
blktests-ci[bot] wants to merge 1 commit into
linus-master_basefrom
series/1112389=>linus-master

Conversation

@blktests-ci

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

Copy link
Copy Markdown

Pull request for series with
subject: block: Remove redundant plug in __submit_bio()
version: 2
url: https://patchwork.kernel.org/project/linux-block/list/?series=1112389

@blktests-ci

blktests-ci Bot commented Jun 17, 2026

Copy link
Copy Markdown
Author

Upstream branch: 66affa3
series: https://patchwork.kernel.org/project/linux-block/list/?series=1112389
version: 2

The patch removes the automatic plug/unplug operations from __submit_bio()
that were added to cache nsecs time when no explicit plug is used.

The plug mechanism is most effective when batching multiple I/O
operations together. Creating a plug for every bio submission
provides minimal benefit while adding function call overhead and
stack usage for every I/O operation.

Below is performance comparison with the latest upstream kernel.

Iotype  qd nj  rmix  mpstat busy  mpstat busy without plug
Randrw  1  20  100       53%                 24%
Randrw  1  40  100       70%                 24%
Randrw  1  20  70        40%                 24%
Randrw  1  40  70        60%                 26%
Randrw  1  20  0         14%                 6%
Randrw  1  40  0         20%                 7%

Fixes: 060406c ("block: add plug while submitting IO")
Signed-off-by: Wen Xiong <wenxiong@linux.ibm.com>
Reviewed-by: Ming Lei <tom.leiming@gmail.com>
@blktests-ci

blktests-ci Bot commented Jun 24, 2026

Copy link
Copy Markdown
Author

Upstream branch: bade58e
series: https://patchwork.kernel.org/project/linux-block/list/?series=1112389
version: 2

@blktests-ci blktests-ci Bot force-pushed the series/1112389=>linus-master branch from 5ddf0b3 to 4a6d11c Compare June 24, 2026 01:29
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