Add device-mapper/dm-bow module 74/317374/1 accepted/tizen_unified_toolchain accepted/tizen/9.0/unified/20241030.232620 accepted/tizen/unified/20240924.153228 accepted/tizen/unified/toolchain/20241004.101448 accepted/tizen/unified/x/20240925.015915 accepted/tizen/unified/x/asan/20241013.235808 tizen_9.0_m2_release
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 6 Sep 2024 07:16:24 +0000 (09:16 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 9 Sep 2024 10:40:15 +0000 (12:40 +0200)
commit6793f829e6591dd84348350dceeef74c8d32ee7e
tree7d80c5f2ea7a7c524474ea62ddb984d6aadb3623
parentb2df6ecebdd0bbb254672be2370ca9f33fa08411
Add device-mapper/dm-bow module

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 and also for
 linux-tizen-modules repo]

Change-Id: I7e491b34c66cdb7bd57cadc829db7bc2a562d59f
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Documentation/device-mapper/dm-bow.txt [new file with mode: 0644]
kernel/Makefile
kernel/dm-bow.c [new file with mode: 0644]
kernel/dm-core.h [new file with mode: 0644]
kernel/dm.h [new file with mode: 0644]
packaging/linux-tizen-modules-source.spec