device-mapper: Add dm-bow 98/287798/1
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Thu, 8 Jul 2021 13:36:25 +0000 (15:36 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 6 Feb 2023 11:43:02 +0000 (12:43 +0100)
commite02b18cf8735cd5161d6dbdc65fb45035ee35ef9
treecfb6c409b00bcb8e84463625a2fbe0826caa1aeb
parent1aec955ed5f4d7a4562a28c5117f59d37b5390f9
device-mapper: Add dm-bow

dm-bow is a device mapper driver that allows to create a checkpoint on
the volume so that it is possible to restore the state if necessary.
This is needed to protect the ext4 partition during a system upgrade in
case of a power failure.

Originally-by: Paul Lawrence <paullawrence@google.com>
Origin: https://android.googlesource.com/kernel/common/+/refs/heads/android-mainline/drivers/md/dm-bow.c
Signed-off-by: Mateusz Moscicki <m.moscicki2@samsung.com>
[mszyprow: fixed compile issue]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Id521bd9f609fdc4a55837da8e1388800f375e8a5
Documentation/device-mapper/dm-bow.txt [new file with mode: 0644]
drivers/md/Kconfig
drivers/md/Makefile
drivers/md/dm-bow.c [new file with mode: 0644]