commit | b7ceb7d50048d0dd4830f106f0fb7f5424031598 | [log] [tgz] |
---|---|---|
author | Matias Bjørling <m@bjorling.me> | Mon Nov 02 17:12:27 2015 +0100 |
committer | Jens Axboe <axboe@fb.com> | Tue Nov 03 09:53:24 2015 -0700 |
tree | 63907b30b02b8ca1cb6c6ea108114a696a6ffff2 | |
parent | ca0640850e43f5f80c6029e2895b119b705f23bd [diff] |
lightnvm: refactor phys addrs type to u64 For cases where CONFIG_LBDAF is not set. The struct ppa_addr exceeds its type on 32 bit architectures. ppa_addr requires a 64bit integer to hold the generic ppa format. We therefore refactor it to u64 and replaces the sector_t usages with u64 for physical addresses. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>