Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae1519ec authored by Matias Bjørling's avatar Matias Bjørling Committed by Jens Axboe
Browse files

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: default avatarMatias Bjørling <m@bjorling.me>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 48add0f5
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -32,4 +32,11 @@ config NVM_GENNVM
	functionality to device, while keeping data placement and garbage
	collection decisions on the host.

config NVM_RRPC
	tristate "Round-robin Hybrid Open-Channel SSD target"
	---help---
	Allows an open-channel SSD to be exposed as a block device to the
	host. The target is implemented using a linear mapping table and
	cost-based garbage collection. It is optimized for 4K IO sizes.

endif # NVM
+1 −0
Original line number Diff line number Diff line
@@ -4,3 +4,4 @@

obj-$(CONFIG_NVM)		:= core.o
obj-$(CONFIG_NVM_GENNVM) 	+= gennvm.o
obj-$(CONFIG_NVM_RRPC)		+= rrpc.o