commit | 7be970b2258654ca48bdf35d532b2eeef038fe91 | [log] [tgz] |
---|---|---|
author | Hans Holmberg <hans.holmberg@cnexlabs.com> | Fri Mar 30 00:04:56 2018 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Mar 29 17:29:09 2018 -0600 |
tree | 891fe4b3cb0d52c1e7681410f5b9e40e151b7dc7 | |
parent | 5d149bfabeb889b7ee5cd6491bc6d2b5b20c4abd [diff] |
lightnvm: pblk: delete writer kick timer before stopping thread Unless we delete the timer that wakes up the write thread before we stop the thread we risk re-starting the thread, so delete the timer first. Signed-off-by: Hans Holmberg <hans.holmberg@cnexlabs.com> Reviewed-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <mb@lightnvm.io> Signed-off-by: Jens Axboe <axboe@kernel.dk>