[PATCH v2 3/9] blk: blkmap: Add basic infrastructure
Simon Glass
sjg at chromium.org
Fri Feb 17 03:55:04 CET 2023
On Thu, 16 Feb 2023 at 08:34, Tobias Waldekranz <tobias at waldekranz.com> 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 <tobias at waldekranz.com>
> ---
> 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 <sjg at chromium.org>
More information about the U-Boot
mailing list