lightnvm: pblk: kick writer on new flush points
Unless we kick the writer directly when setting a new flush point, the user risks having to wait for up to one second (the default timeout for the write thread to be kicked) for the IO to complete. Signed-off-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:

committed by
Jens Axboe

parent
b06be2873d
commit
cc9c9a00b1
@@ -851,6 +851,7 @@ void pblk_map_rq(struct pblk *pblk, struct nvm_rq *rqd, unsigned int sentry,
|
||||
int pblk_write_ts(void *data);
|
||||
void pblk_write_timer_fn(struct timer_list *t);
|
||||
void pblk_write_should_kick(struct pblk *pblk);
|
||||
void pblk_write_kick(struct pblk *pblk);
|
||||
|
||||
/*
|
||||
* pblk read path
|
||||
|
Reference in New Issue
Block a user