diff options
| author | Gao Xiang <[email protected]> | 2019-03-25 11:40:09 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-03-26 05:51:17 +0900 |
| commit | 14a56ec65bab351a3e1535882f15a6af21912cac (patch) | |
| tree | 8af07e8df2d60d33f44c03e0902932970abcf09c /tools/perf/scripts/python | |
| parent | d61fbb6b163494219335a25812dab9acb291c4b6 (diff) | |
staging: erofs: support IO read error injection
Used to simulate disk IO read error for testing fatal
error tolerance.
Here are the details,
1) use bio->bi_private to indicate super_block
for non-compressed bios since some (mainly meta)
pages can be of the corresponding bdev inode;
2) get super_block dynamically for compressed bios,
therefore it could not inject bios full of staging
pages, yet it doesn't affect the normal usage.
Signed-off-by: Gao Xiang <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions