rrpc: Round-robin sector target with cost-based gc
authorMatias Bjørling <m@bjorling.me>
Wed, 28 Oct 2015 18:54:57 +0000 (19:54 +0100)
committerJens Axboe <axboe@fb.com>
Thu, 29 Oct 2015 07:21:42 +0000 (16:21 +0900)
commitae1519ec448bc31a7fe7369b66e7c78872f91e84
treec7bbe07098e91a09d684e3232d8f3b54a963986e
parent48add0f5a6f46919dd307575aad6ea3de7c9cb2a
rrpc: Round-robin sector target with cost-based gc

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>
drivers/lightnvm/Kconfig
drivers/lightnvm/Makefile
drivers/lightnvm/rrpc.c [new file with mode: 0644]
drivers/lightnvm/rrpc.h [new file with mode: 0644]