commit | de54e703a4229e4688eb77b32b1c27861384e22a | [log] [tgz] |
---|---|---|
author | Javier González <jg@lightnvm.io> | Fri Jun 30 17:56:39 2017 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jun 30 11:08:18 2017 -0600 |
tree | a615443d5f3c5ebe13616ad9331800d9b1bf466b | |
parent | 8224cbd80be15908ecb6351b90291596e8bdcf79 [diff] |
lightnvm: pblk: use vmalloc for GC data buffer For now, we allocate a per I/O buffer for GC data. Since the potential size of the buffer is 256KB and GC is not in the fast path, do this allocation with vmalloc. This puts lets pressure on the memory allocator at no performance cost. 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>