linux/drivers/lightnvm
Wenwei Tao d160147b5c lightnvm: do device max sectors boundary check first
do device max_phys_sect boundary check first, otherwise
we will allocate dma_pools for devices whose max sectors
are beyond lightnvm support and register them.

Signed-off-by: Wenwei Tao <ww.tao0320@gmail.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
2015-11-29 14:34:58 -07:00
..
core.c lightnvm: do device max sectors boundary check first 2015-11-29 14:34:58 -07:00
gennvm.c lightnvm: free memory when gennvm register fails 2015-11-29 14:34:57 -07:00
gennvm.h lightnvm: update bad block table format 2015-11-16 15:20:25 -07:00
Kconfig rrpc: Round-robin sector target with cost-based gc 2015-10-29 16:21:42 +09:00
Makefile rrpc: Round-robin sector target with cost-based gc 2015-10-29 16:21:42 +09:00
rrpc.c lightnvm: remove linear and device addr modes 2015-11-16 15:20:34 -07:00
rrpc.h lightnvm: refactor phys addrs type to u64 2015-11-03 09:53:24 -07:00