commit | f680f19aa6dbbbabf499250d49f18a426b14f1c2 | [log] [tgz] |
---|---|---|
author | Javier González <jg@lightnvm.io> | Mon Jun 26 11:57:21 2017 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jun 26 16:27:39 2017 -0600 |
tree | 78dbe23eb94ec0680ed1f5ece1bec7916d124a23 | |
parent | f9c101523da75cd483b95f04c21242bb83960d93 [diff] |
lightnvm: pblk: simplify meta. memory allocation smeta size will always be suitable for a kmalloc allocation. Simplify the code and leave the vmalloc fallback only for emeta, where the pblk configuration has an impact. Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <matias@cnexlabs.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>