diff options
author | Javier González <javier@javigon.com> | 2018-06-01 15:04:19 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-06-01 07:43:53 -0600 |
commit | e37d07983af9068de0303054542d2652ca917f58 (patch) | |
tree | 44013f3467eef1ca9230812265f4497d20feebfb /ipc/sem.c | |
parent | 03a34b2d25a4ca6ba691312feaa0b4d3cb3fd63d (diff) | |
download | linux-e37d07983af9068de0303054542d2652ca917f58.tar.bz2 |
lightnvm: pblk: warn in case of corrupted write buffer
When cleaning up buffer entries as we wrap up, their state should be
"completed". If any of the entries is in "submitted" state, it means
that something bad has happened. Trigger a warning immediately instead of
waiting for the state flag to eventually be updated, thus hiding the
issue.
Signed-off-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 'ipc/sem.c')
0 files changed, 0 insertions, 0 deletions