commit | 3dc001f343659e4732b4ff6da1c28edbd56c6e15 | [log] [tgz] |
---|---|---|
author | Javier González <jg@lightnvm.io> | Sat Apr 22 01:32:45 2017 +0200 |
committer | Jens Axboe <axboe@fb.com> | Sun Apr 23 16:57:52 2017 -0600 |
tree | 5d541173911c6ab32b812541aff08beeae5853fa | |
parent | 2859323e35ab5fc42f351fbda23ab544eaa85945 [diff] |
lightnvm: pblk: fix race condition on line retry When a pblk line fails (or is recovered), make sure to take the line management lock. Fixes: a4bd217b4326 "lightnvm: physical block device (pblk) target" Signed-off-by: Javier González <javier@cnexlabs.com> Reviewed-by: Matias Bjørling <matias@cnexlabs.com> Signed-off-by: Jens Axboe <axboe@fb.com>