Skip to content

Documentation: block: fix the sector 0 error injection example - #1145

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

Documentation: block: fix the sector 0 error injection example#1145
blktests-ci[bot] wants to merge 1 commit into
linus-master_basefrom
series/1146590=>linus-master

Conversation

@blktests-ci

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

Copy link
Copy Markdown

Pull request for series with
subject: Documentation: block: fix the sector 0 error injection example
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1146590

@blktests-ci

blktests-ci Bot commented Aug 15, 2026

Copy link
Copy Markdown
Author

Upstream branch: 3aa1dca
series: https://patchwork.kernel.org/project/linux-block/list/?series=1146590
version: 1

@blktests-ci
blktests-ci Bot force-pushed the linus-master_base branch 2 times, most recently from d89ab11 to fdba928 Compare August 16, 2026 18:34
@blktests-ci

blktests-ci Bot commented Aug 16, 2026

Copy link
Copy Markdown
Author

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

@blktests-ci
blktests-ci Bot force-pushed the series/1146590=>linus-master branch from 73e1945 to 23096a6 Compare August 16, 2026 19:53
@blktests-ci

blktests-ci Bot commented Aug 17, 2026

Copy link
Copy Markdown
Author

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

@blktests-ci
blktests-ci Bot force-pushed the series/1146590=>linus-master branch from 23096a6 to 0f5c8ee Compare August 17, 2026 07:21
@blktests-ci
blktests-ci Bot force-pushed the linus-master_base branch from fdba928 to 60442a3 Compare August 17, 2026 14:10
The first error injection example is introduced as failing one in ten
reads of sector 0, but the rule it shows does not set nr_sectors, which
defaults to the remainder of the device.  As written it fails one in ten
reads of the whole device.

Add nr_sectors=1 so that the rule does what the text says.  This also
gives the documentation one example that uses nr_sectors.

Fixes: e8dcf2d ("block: add configurable error injection")
Signed-off-by: Md Haris Iqbal <haris.iqbal@linux.dev>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Tao Cui <cuitao@kylinos.cn>
@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=1146590
version: 1

@blktests-ci
blktests-ci Bot force-pushed the series/1146590=>linus-master branch from 0f5c8ee to 2842ea6 Compare August 17, 2026 16:40
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.

0 participants