diff options
author | Igor Konopko <igor.j.konopko@intel.com> | 2019-05-04 20:38:03 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-05-06 10:19:18 -0600 |
commit | 1fc3b30569bc1087dc8c8b8eff27ca7727b807c4 (patch) | |
tree | 5fd5d77ce820e85d6e94920502fdcf87b651676b /drivers/media/Kconfig | |
parent | d165a7a6f5aa05dfdfc164e24c11b6458a523ff7 (diff) |
lightnvm: pblk: wait for inflight IOs in recovery
This patch changes the behaviour of recovery padding in order to
support a case, when some IOs were already submitted to the drive and
some next one are not submitted due to error returned.
Currently in case of errors we simply exit the pad function without
waiting for inflight IOs, which leads to panic on inflight IOs
completion.
After the changes we always wait for all the inflight IOs before
exiting the function.
Signed-off-by: Igor Konopko <igor.j.konopko@intel.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/media/Kconfig')
0 files changed, 0 insertions, 0 deletions