diff options
| author | Alexey Dobriyan <[email protected]> | 2020-02-12 23:23:20 +0300 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-03-12 09:10:03 -0600 |
| commit | ff77042296d0a54535ddf74412c5ae92cb4ec76a (patch) | |
| tree | 984b1bac68de1669893f7341ccb6abfcff59ff21 /tools/perf/scripts/python/sched-migration.py | |
| parent | 2c272542baee2c3b9e8e3a260db81227ccefe8b5 (diff) | |
null_blk: fix spurious IO errors after failed past-wp access
Steps to reproduce:
BLKRESETZONE zone 0
// force EIO
pwrite(fd, buf, 4096, 4096);
[issue more IO including zone ioctls]
It will start failing randomly including IO to unrelated zones because of
->error "reuse". Trigger can be partition detection as well if test is not
run immediately which is even more entertaining.
The fix is of course to clear ->error where necessary.
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Alexey Dobriyan (SK hynix) <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions