Documentation: block: fix the sector 0 error injection example - #1145
Documentation: block: fix the sector 0 error injection example#1145blktests-ci-kpd[bot] wants to merge 1 commit into
Conversation
|
Upstream branch: 3aa1dca |
d89ab11 to
fdba928
Compare
|
Upstream branch: fd923b3 |
73e1945 to
23096a6
Compare
|
Upstream branch: fd923b3 |
23096a6 to
0f5c8ee
Compare
fdba928 to
60442a3
Compare
|
Upstream branch: 8d3ae59 |
0f5c8ee to
2842ea6
Compare
60442a3 to
3df366e
Compare
|
Upstream branch: bd5f485 |
2842ea6 to
7fa3cd4
Compare
3df366e to
5dd70cb
Compare
|
Upstream branch: 66498c7 |
7fa3cd4 to
a37c312
Compare
5dd70cb to
055a766
Compare
|
Upstream branch: 502d457 |
a37c312 to
0e702aa
Compare
055a766 to
341ae8c
Compare
|
Upstream branch: cf72cbb |
0e702aa to
90a65b2
Compare
341ae8c to
940e422
Compare
|
Upstream branch: cee9395 |
90a65b2 to
847f651
Compare
940e422 to
3cab524
Compare
|
Upstream branch: 89a3129 |
847f651 to
53c23ac
Compare
3cab524 to
8242bf1
Compare
|
Upstream branch: bc35965 |
53c23ac to
4cd2caf
Compare
8242bf1 to
5b28f57
Compare
|
Upstream branch: df29080 Pull request is NOT updated. Failed to apply https://patchwork.kernel.org/series/1146590/ conflict: |
5b28f57 to
4ddd216
Compare
|
Upstream branch: 28924df |
4cd2caf to
89d9bf6
Compare
4ddd216 to
00cc4ca
Compare
|
Upstream branch: 893e117 |
89d9bf6 to
22bc072
Compare
00cc4ca to
7efd8cd
Compare
|
Upstream branch: 50d05c7 |
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>
22bc072 to
de29fee
Compare
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