]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: pblk: kick writer on new flush points
authorHans Holmberg <hans.holmberg@cnexlabs.com>
Fri, 1 Jun 2018 14:41:13 +0000 (16:41 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 1 Jun 2018 15:02:53 +0000 (09:02 -0600)
commit812bb3375bde3a426ae38eec6463fb809cec4837
treefb118d35b601bc76bb3281d2c26ed33eaeab0710
parentcfbeab70a4295f61b78f10fd5c41af58691b0526
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>
drivers/lightnvm/pblk-cache.c
drivers/lightnvm/pblk-core.c
drivers/lightnvm/pblk-rb.c
drivers/lightnvm/pblk.h