diff options
| author | Hans Holmberg <hans.holmberg@cnexlabs.com> | 2018-10-09 13:11:47 +0200 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2018-10-09 08:25:07 -0600 |
| commit | 53d82db693fe1fd1926066583fd24285fb5aae16 (patch) | |
| tree | bd4d71e87e1168ceeb11d922617119382f534350 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | lightnvm: introduce nvm_rq_to_ppa_list (diff) | |
| download | linux-53d82db693fe1fd1926066583fd24285fb5aae16.tar.gz linux-53d82db693fe1fd1926066583fd24285fb5aae16.zip | |
lightnvm: pblk: allocate line map bitmaps using a mempool
Line map bitmap allocations are fairly large and can fail. Allocation
failures are fatal to pblk, stopping the write pipeline. To avoid this,
allocate the bitmaps using a mempool instead.
Mempool allocations never fail if called from a process context,
and pblk *should* only allocate map bitmaps in process context,
but keep the failure handling for robustness sake.
Signed-off-by: Hans Holmberg <hans.holmberg@cnexlabs.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
