summaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/rrpc.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* lightnvm: refactor phys addrs type to u64Matias Bjørling2015-11-031-3/+3
| | | | | | | | | | 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>
* rrpc: Round-robin sector target with cost-based gcMatias Bjørling2015-10-291-0/+239
This target allows an Open-Channel SSD to be exposed asas a block device. It implements a round-robin approach for sector allocation, together with a greedy cost-based garbage collector. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>