lightnvm: check bi_error in gc
authorWenwei Tao <ww.tao0320@gmail.com>
Tue, 12 Jan 2016 06:49:23 +0000 (07:49 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 12 Jan 2016 15:21:16 +0000 (08:21 -0700)
commit2b11c1b24e50a26d435f1d59955f1268053623b7
tree0b129f60302201b66b442e7611d77d50ec4eda5a
parent22513215b83d62a7f5e3494209b69d4d8c266ab8
lightnvm: check bi_error in gc

We should check last io completion status before
starting another one.

Signed-off-by: Wenwei Tao <ww.tao0320@gmail.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/rrpc.c