diff options
author | Javier González <javier@cnexlabs.com> | 2017-10-13 14:46:17 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-10-13 16:34:57 +0200 |
commit | 6ca2f71f3e3d94d188000b420ce0529b07f3ce95 (patch) | |
tree | e99c846fd3bbbd5786e41425371584763abe0d0a /drivers/lightnvm/pblk-map.c | |
parent | lightnvm: pblk: put bio on bio completion (diff) | |
download | linux-6ca2f71f3e3d94d188000b420ce0529b07f3ce95.tar.xz linux-6ca2f71f3e3d94d188000b420ce0529b07f3ce95.zip |
lightnvm: pblk: simplify path on REQ_PREFLUSH
On REQ_PREFLUSH, directly tag the I/O context flags to signal a flush in
the write to cache path, instead of finding the correct entry context
and imposing a memory barrier. This simplifies the code and might
potentially prevent race conditions when adding functionality to the
write path.
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>
Diffstat (limited to 'drivers/lightnvm/pblk-map.c')
0 files changed, 0 insertions, 0 deletions