summaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/pblk-core.c
diff options
context:
space:
mode:
authorHans Holmberg <hans.holmberg@cnexlabs.com>2018-03-30 00:04:58 +0200
committerJens Axboe <axboe@kernel.dk>2018-03-29 17:29:09 -0600
commit3c05ef115c696392d9703be3fe014100ec77864d (patch)
tree7ef312bb9ac423359ee54ea7b7dd420981edd412 /drivers/lightnvm/pblk-core.c
parentb966c50b14de56cd73d40d3fa87b48bbab6e5c8a (diff)
downloadlinux-stable-3c05ef115c696392d9703be3fe014100ec77864d.tar.gz
linux-stable-3c05ef115c696392d9703be3fe014100ec77864d.tar.bz2
linux-stable-3c05ef115c696392d9703be3fe014100ec77864d.zip
lightnvm: pblk: prevent race in pblk_rb_flush_point_set
Make sure that we are not advancing the sync pointer while we're adding bios to the write buffer entry completion list. This race condition results in bios not completing and was identified by a hang when running xfstest generic/113. Signed-off-by: Hans Holmberg <hans.holmberg@cnexlabs.com> Reviewed-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <mb@lightnvm.io> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm/pblk-core.c')
0 files changed, 0 insertions, 0 deletions