]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: pblk: clear flush point on completed writes
authorHans Holmberg <hans@owltronix.com>
Fri, 5 Jan 2018 13:16:10 +0000 (14:16 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Jan 2018 15:50:12 +0000 (08:50 -0700)
commitf78b39ae40f8383119292a58bf38ac425eac48c6
treef5bbd43599c2f0cbd4be659ecc32a8e2235ab359
parent658c87968da88f434b0f6f30dd3639b8e201fa09
lightnvm: pblk: clear flush point on completed writes

Move completion of syncs and clearing of flush points to the
write completion path - this ensures that the data has been
comitted to the media before completing bios containing syncs.

Signed-off-by: Hans Holmberg <hans.holmberg@cnexlabs.com>
Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-rb.c
drivers/lightnvm/pblk-write.c