]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
lightnvm: pblk: remove internal IO timeout
authorIgor Konopko <igor.j.konopko@intel.com>
Sat, 4 May 2019 18:38:04 +0000 (20:38 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 6 May 2019 16:19:18 +0000 (10:19 -0600)
commit32ac0fa3afebb8b83e3f9189af1a481c0110fe51
tree2bdb691d452b29ecead33b7f561a78ed9a682e1a
parent1fc3b30569bc1087dc8c8b8eff27ca7727b807c4
lightnvm: pblk: remove internal IO timeout

Currently during pblk padding, there is internal IO timeout introduced,
which is smaller than default NVMe timeout. This can lead to various
use-after-free issues. Since in case of any IO timeouts NVMe and block
layer will handle timeout by themselves and report it back to use,
there is no need to keep this internal timeout in pblk.

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>
drivers/lightnvm/pblk-recovery.c
drivers/lightnvm/pblk.h