diff options
author | Matias Bjørling <m@bjorling.me> | 2016-05-06 20:02:57 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-05-06 20:51:10 +0200 |
commit | 4891d120b9cd419f4350b11e1231083745dcdc8b (patch) | |
tree | c5da30d99e92644a30cdf2d620dc56cbace69add /drivers/nvme | |
parent | lightnvm: implement nvm_submit_ppa_list (diff) | |
download | linux-4891d120b9cd419f4350b11e1231083745dcdc8b.tar.xz linux-4891d120b9cd419f4350b11e1231083745dcdc8b.zip |
lightnvm: add fpg_size and pfpg_size to struct nvm_dev
The flash page size (fpg) and size across planes (pfpg) are convenient
to know when allocating buffer sizes. This has previously been a
calculated in various places. Replace with the pre-calculated values.
Reviewed by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/nvme')
0 files changed, 0 insertions, 0 deletions