Igor Konopko 24828d0536 lightnvm: dynamic DMA pool entry size
Currently lightnvm and pblk uses single DMA pool, for which the entry
size always is equal to PAGE_SIZE. The contents of each entry allocated
from the DMA pool consists of a PPA list (8bytes * 64), leaving
56bytes * 64 space for metadata. Since the metadata field can be bigger,
such as 128 bytes, the static size does not cover this use-case.

This patch adds support for I/O metadata above 56 bytes by changing DMA
pool size based on device meta size and allows pblk to use OOB metadata
>=16B.

Reviewed-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Igor Konopko <igor.j.konopko@intel.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-12-11 12:22:35 -07:00
..
2018-12-09 09:46:54 -08:00
2018-12-09 17:45:40 -07:00
2018-11-01 18:34:46 -07:00
2018-10-29 15:16:01 -07:00
2018-10-27 09:24:24 -07:00
2018-10-16 11:13:50 +02:00
2018-12-02 12:19:44 -08:00
2018-10-11 12:12:55 +02:00
2018-12-09 17:45:40 -07:00
2018-11-08 17:49:04 -06:00
2018-12-04 09:38:05 -07:00
2018-12-09 17:45:40 -07:00
2018-11-09 16:41:58 -06:00
2018-12-09 17:45:40 -07:00
2018-10-26 14:36:21 -07:00
2018-10-22 17:30:06 +01:00
2018-11-01 08:42:21 -07:00
2018-10-26 12:09:58 -07:00
2018-10-29 15:16:01 -07:00
2018-12-09 17:45:40 -07:00
2018-12-02 20:55:23 -08:00
2018-12-09 17:45:40 -07:00
2018-10-31 08:54:16 -07:00
2018-11-28 08:33:55 -08:00
2018-12-09 10:35:33 -08:00
2018-11-30 14:48:04 -07:00
2018-10-11 09:16:44 -07:00
2018-12-09 10:24:29 -08:00
2018-11-11 09:21:46 -08:00
2018-12-06 18:02:58 +01:00
2018-10-31 11:01:38 -07:00
2018-10-31 11:41:37 -07:00
2018-12-02 12:15:55 -08:00