diff options
author | Igor Konopko <[email protected]> | 2019-05-04 20:37:54 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2019-05-06 10:19:17 -0600 |
commit | d38954ed1b76a2814057cd4af92c6966bceb3d3c (patch) | |
tree | 1d3ea312afe100f2feb4d3e91759a37bb335dfe7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6e46b8b24ffbc4ecb5b606094dbc8ed5d6281f59 (diff) |
lightnvm: pblk: set proper read status in bio
Currently in case of read errors, bi_status is not set properly which
leads to returning inproper data to layers above. This patch fix that
by setting proper status in case of read errors.
Also remove unnecessary warn_once(), which does not make sense
in that place, since user bio is not used for interation with drive
and thus bi_status will not be set here.
Signed-off-by: Igor Konopko <[email protected]>
Reviewed-by: Javier González <[email protected]>
Reviewed-by: Hans Holmberg <[email protected]>
Signed-off-by: Matias Bjørling <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions