linux/drivers/lightnvm
Matias Bjørling 921aebfac0 lightnvm: pblk: fix read_bitmap for 32bit archs
If using pblk on a 32bit architecture, and there is a need to
perform a partial read, the partial read bitmap will only have
allocated 32 entries, where as 64 are needed.

Make sure that the read_bitmap is initialized to 64bits on 32bit
architectures as well.

Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Reviewed-by: Igor Konopko <igor.j.konopko@intel.com>
Reviewed-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-07-13 08:14:39 -06:00
..
Kconfig lightnvm: move NVM_DEBUG to pblk 2018-07-13 08:14:31 -06:00
Makefile lightnvm: remove rrpc 2018-01-05 08:50:12 -07:00
core.c lightnvm: pass flag on graceful teardown to targets 2018-06-01 07:43:53 -06:00
pblk-cache.c lightnvm: move NVM_DEBUG to pblk 2018-07-13 08:14:31 -06:00
pblk-core.c lightnvm: move NVM_DEBUG to pblk 2018-07-13 08:14:31 -06:00
pblk-gc.c lightnvm: move NVM_DEBUG to pblk 2018-07-13 08:14:31 -06:00
pblk-init.c lightnvm: move NVM_DEBUG to pblk 2018-07-13 08:14:31 -06:00
pblk-map.c lightnvm: pblk: fail gracefully on line alloc. failure 2018-06-01 07:43:53 -06:00
pblk-rb.c lightnvm: move NVM_DEBUG to pblk 2018-07-13 08:14:31 -06:00
pblk-read.c lightnvm: pblk: fix read_bitmap for 32bit archs 2018-07-13 08:14:39 -06:00
pblk-recovery.c lightnvm: pblk: enable line minor version detection 2018-07-13 08:14:32 -06:00
pblk-rl.c lightnvm: pblk: garbage collect lines with failed writes 2018-06-01 09:02:53 -06:00
pblk-sysfs.c lightnvm: move NVM_DEBUG to pblk 2018-07-13 08:14:31 -06:00
pblk-write.c lightnvm: move NVM_DEBUG to pblk 2018-07-13 08:14:31 -06:00
pblk.h lightnvm: move NVM_DEBUG to pblk 2018-07-13 08:14:31 -06:00