device-mapper: Add dm-bow 35/306535/2
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Thu, 8 Jul 2021 13:36:25 +0000 (15:36 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 23 Feb 2024 01:06:09 +0000 (10:06 +0900)
commit540ba0d4e89eec45ddd9d41030fb6cf10392b42a
tree599b47456c40e525a58d28cf80b05de62e54ca82
parentc9458239ab7b0103ff1d94958eb1b9a97968f938
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>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
[mszyprow: this is a squashed set of the following patches
     from platform/kernel/linux-rpi 'tizen' (c4f85fdcd893) branch:
 device-mapper: Add dm-bow
 dm-bow: Fix 5.15 compatibility issue
 ported and adapted to Linux v6.6 kernel base]

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Id44a1fece8b1be096689a86bd9ea8356c25db5e0
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]