commit | abd805ec9f51f37db9da63dda44c3f4b4ae8ad57 | [log] [tgz] |
---|---|---|
author | Matias Bjørling <m@bjorling.me> | Tue Jan 12 07:49:20 2016 +0100 |
committer | Jens Axboe <axboe@fb.com> | Tue Jan 12 08:21:16 2016 -0700 |
tree | 5298213b1795db79ebd1769e0d2c66b865d71e5a | |
parent | 069368e91879a3a640cfae4bdc1f9f8cc99c93a0 [diff] |
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>