Skip to content

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

Open
blktests-ci-kpd[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-kpd[bot] wants to merge 1 commit into
linus-master_basefrom
series/1146590=>linus-master

Conversation

@blktests-ci-kpd

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-kpd

Copy link
Copy Markdown
Author

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

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

Copy link
Copy Markdown
Author

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

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

Copy link
Copy Markdown
Author

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

@blktests-ci-kpd
blktests-ci-kpd Bot force-pushed the series/1146590=>linus-master branch from 23096a6 to 0f5c8ee Compare August 17, 2026 07:21
@blktests-ci-kpd

Copy link
Copy Markdown
Author

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

@blktests-ci-kpd
blktests-ci-kpd Bot force-pushed the series/1146590=>linus-master branch from 0f5c8ee to 2842ea6 Compare August 17, 2026 16:40
@blktests-ci-kpd

Copy link
Copy Markdown
Author

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

@blktests-ci-kpd
blktests-ci-kpd Bot force-pushed the series/1146590=>linus-master branch from 2842ea6 to 7fa3cd4 Compare August 19, 2026 05:46
@blktests-ci-kpd

Copy link
Copy Markdown
Author

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

@blktests-ci-kpd
blktests-ci-kpd Bot force-pushed the series/1146590=>linus-master branch from 7fa3cd4 to a37c312 Compare August 25, 2026 03:48
@blktests-ci-kpd

Copy link
Copy Markdown
Author

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

@blktests-ci-kpd
blktests-ci-kpd Bot force-pushed the series/1146590=>linus-master branch from a37c312 to 0e702aa Compare August 26, 2026 21:07
@blktests-ci-kpd

Copy link
Copy Markdown
Author

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

@blktests-ci-kpd
blktests-ci-kpd Bot force-pushed the series/1146590=>linus-master branch from 0e702aa to 90a65b2 Compare August 29, 2026 07:06
@blktests-ci-kpd

Copy link
Copy Markdown
Author

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

@blktests-ci-kpd
blktests-ci-kpd Bot force-pushed the series/1146590=>linus-master branch from 90a65b2 to 847f651 Compare August 31, 2026 10:53
@blktests-ci-kpd

Copy link
Copy Markdown
Author

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

@blktests-ci-kpd
blktests-ci-kpd Bot force-pushed the series/1146590=>linus-master branch from 847f651 to 53c23ac Compare September 2, 2026 09:25
@blktests-ci-kpd

Copy link
Copy Markdown
Author

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

@blktests-ci-kpd
blktests-ci-kpd Bot force-pushed the series/1146590=>linus-master branch from 53c23ac to 4cd2caf Compare September 4, 2026 06:39
@blktests-ci-kpd

Copy link
Copy Markdown
Author

Upstream branch: df29080
series: https://patchwork.kernel.org/series/1146590/
version: 1

Pull request is NOT updated. Failed to apply https://patchwork.kernel.org/series/1146590/
error message:

Cmd('git') failed due to: exit code(128)
  cmdline: git am --3way
  stdout: 'Patch is empty.
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To record the empty patch as an empty commit, run "git am --allow-empty".
To restore the original branch and stop patching, run "git am --abort".'

conflict:


@blktests-ci-kpd

Copy link
Copy Markdown
Author

Upstream branch: 28924df
series: https://patchwork.kernel.org/series/1146590/
version: 1

@blktests-ci-kpd

Copy link
Copy Markdown
Author

Upstream branch: 893e117
series: https://patchwork.kernel.org/series/1146590/
version: 1

@blktests-ci-kpd
blktests-ci-kpd Bot force-pushed the series/1146590=>linus-master branch from 89d9bf6 to 22bc072 Compare September 9, 2026 08:24
@blktests-ci-kpd

Copy link
Copy Markdown
Author

Upstream branch: 50d05c7
series: https://patchwork.kernel.org/series/1146590/
version: 1

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-kpd
blktests-ci-kpd Bot force-pushed the series/1146590=>linus-master branch from 22bc072 to de29fee Compare September 10, 2026 15:55
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