summaryrefslogtreecommitdiffstats
path: root/drivers/block/ps3disk.c
diff options
context:
space:
mode:
authorJavier González <jg@lightnvm.io>2017-06-30 17:56:43 +0200
committerJens Axboe <axboe@kernel.dk>2017-06-30 19:08:18 +0200
commita84ebb837b419787c2ece74efa566c998929cead (patch)
treed2479e93d9192bf36faac59229863ea41c3e88d4 /drivers/block/ps3disk.c
parentlightnvm: pblk: verify that cache read is still valid (diff)
downloadlinux-a84ebb837b419787c2ece74efa566c998929cead.tar.xz
linux-a84ebb837b419787c2ece74efa566c998929cead.zip
lightnvm: pblk: set line bitmap check under debug
Do bitmap checks only when debug mode is enable. The line bitmap used for mapping to physical addresses is fairly large (~512KB) and it is expensive to do this checks on the fast path. 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>
Diffstat (limited to 'drivers/block/ps3disk.c')
0 files changed, 0 insertions, 0 deletions