commit | ed2a92a6b4b8453a0c3a20da641ec79e4b3d7ca4 | [log] [tgz] |
---|---|---|
author | Matias Bjørling <m@bjorling.me> | Sat Feb 20 08:52:42 2016 +0100 |
committer | Jens Axboe <axboe@fb.com> | Thu Mar 03 14:46:35 2016 -0700 |
tree | aafd1639c001a5cbd83041c4b19b1bc17a0b4bb9 | |
parent | 4ece44af733ff63a7cd12aaa8c85afb6d9fdc664 [diff] |
lightnvm: remove struct nvm_dev->total_blocks The struct nvm_dev->total_blocks was only used for calculating total sectors. Remove and instead calculate total sectors from the number of luns and its sectors. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>