commit | be388d9fbd4e09582e31c3ee82a022e368208ae3 | [log] [tgz] |
---|---|---|
author | Javier González <jg@lightnvm.io> | Sat Apr 22 01:32:48 2017 +0200 |
committer | Jens Axboe <axboe@fb.com> | Sun Apr 23 16:57:52 2017 -0600 |
tree | 7cd48c6139b78fb22d9a27cc4d49a4aa6af0e34b | |
parent | 33db9fd46ea8e3e6d4757d99a3f97bd1a0c919f3 [diff] |
lightnvm: pblk: free metadata on line alloc failure When a line allocation fails, for example, due to having too many bad blocks, free its metadata correctly. 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>