On Thu, 16 Feb 2023 at 08:34, Tobias Waldekranz <[email protected]> wrote: > > blkmaps are loosely modeled on Linux's device mapper subsystem. The > basic idea is that you can create virtual block devices whose blocks > can be backed by a plethora of sources that are user configurable. > > This change just adds the basic infrastructure for creating and > removing blkmap devices. Subsequent changes will extend this to add > support for actual mappings. > > Signed-off-by: Tobias Waldekranz <[email protected]> > --- > MAINTAINERS | 6 + > drivers/block/Kconfig | 18 ++ > drivers/block/Makefile | 1 + > drivers/block/blk-uclass.c | 1 + > drivers/block/blkmap.c | 343 +++++++++++++++++++++++++++++++++++++ > include/blkmap.h | 35 ++++ > include/dm/uclass-id.h | 1 + > 7 files changed, 405 insertions(+) > create mode 100644 drivers/block/blkmap.c > create mode 100644 include/blkmap.h >
Reviewed-by: Simon Glass <[email protected]>

