lightnvm: pblk: kick writer on write recovery path
In case of write recovery path, there is a chance that writer thread is not active, kick immediately instead of waiting for timer. Signed-off-by: Igor Konopko <igor.j.konopko@intel.com> Reviewed-by: Javier González <javier@javigon.com> Reviewed-by: Hans Holmberg <hans.holmberg@cnexlabs.com> Signed-off-by: Matias Bjørling <mb@lightnvm.io> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
486b5aac85
commit
74a37fbb5c
|
@ -228,6 +228,7 @@ static void pblk_submit_rec(struct work_struct *work)
|
|||
mempool_free(recovery, &pblk->rec_pool);
|
||||
|
||||
atomic_dec(&pblk->inflight_io);
|
||||
pblk_write_kick(pblk);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user