summaryrefslogtreecommitdiffstats
path: root/drivers/block/null_blk.c
diff options
context:
space:
mode:
authorMatias Bjørling <m@bjorling.me>2016-01-12 07:49:20 +0100
committerJens Axboe <axboe@fb.com>2016-01-12 08:21:16 -0700
commitabd805ec9f51f37db9da63dda44c3f4b4ae8ad57 (patch)
tree5298213b1795db79ebd1769e0d2c66b865d71e5a /drivers/block/null_blk.c
parent069368e91879a3a640cfae4bdc1f9f8cc99c93a0 (diff)
downloadlinux-abd805ec9f51f37db9da63dda44c3f4b4ae8ad57.tar.bz2
lightnvm: refactor rqd ppa list into set/free
A device may be driven in single, double or quad plane mode. In that case, the rqd must have either one, two, or four PPAs set for a single PPA sent to the device. Refactor this logic into their own functions to be shared by program/erase/read in the core. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/null_blk.c')
0 files changed, 0 insertions, 0 deletions