]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lightnvm: rename nr_pages to nr_ppas on nvm_rq
authorJavier González <jg@lightnvm.io>
Fri, 6 May 2016 18:03:20 +0000 (20:03 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 6 May 2016 18:51:10 +0000 (12:51 -0600)
commit6d5be9590b5e15124e3c8b319c8d7ce01abcf07d
tree7d3203bb0aa3a59de19f4cbb4de1c8b4502dd63c
parentdf414b33bb1eb3a0ae52ccd4ecfec9323a4f89dc
lightnvm: rename nr_pages to nr_ppas on nvm_rq

The number of ppas contained on a request is not necessarily the number
of pages that it maps to neither on the target nor on the device side.
In order to avoid confusion, rename nr_pages to nr_ppas since it is what
the variable actually contains.

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/core.c
drivers/lightnvm/gennvm.c
drivers/lightnvm/rrpc.c
drivers/lightnvm/rrpc.h
drivers/lightnvm/sysblk.c
drivers/nvme/host/lightnvm.c
include/linux/lightnvm.h