lightnvm: pblk: spare double cpu_to_le64 calc.
authorJavier González <jg@lightnvm.io>
Mon, 26 Jun 2017 09:57:12 +0000 (11:57 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 26 Jun 2017 22:24:53 +0000 (16:24 -0600)
commitcaa69fa560025d12c276abd62d58a87b94324708
tree39d0e7ee808b05a2312b4133061e906a0d3a3410
parent613fa267c3fa2bdf92d005a4d0fa911bc84f17f4
lightnvm: pblk: spare double cpu_to_le64 calc.

Spare a double calculation on the fast write 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>
drivers/lightnvm/pblk-map.c
drivers/lightnvm/pblk-recovery.c