From 32d4e80df4cb72c3ec5b778c954a7559eba8a40e Mon Sep 17 00:00:00 2001 From: Paul Lawrence Date: Tue, 31 Jan 2023 14:32:51 -0800 Subject: [PATCH] ANDROID: dm-bow: Add ABI documentation Add description of sysfs files Test: none Bug: 210958368 Change-Id: I8ddb678e0e0f1dbbcfb9455d6e17b726337d585c Signed-off-by: Paul Lawrence --- Documentation/ABI/testing/dm-bow | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/ABI/testing/dm-bow diff --git a/Documentation/ABI/testing/dm-bow b/Documentation/ABI/testing/dm-bow new file mode 100644 index 000000000000..d663e81ca360 --- /dev/null +++ b/Documentation/ABI/testing/dm-bow @@ -0,0 +1,19 @@ +What: /sys/block/dm-/bow/free +Date: January 2023 +KernelVersion: 5.15 +Contact: paullawrence@google.com +Description: free space + Free space on device in bytes. Only valid in state 0 +Users: Android vold to determine if there is sufficient space for expected size + of checksum + +What: /sys/block/dm-/bow/state +Date: January 2023 +KernelVersion: 5.15 +Contact: paullawrence@google.com +Description: dm-bow state + Read-write string containing 0, 1 or 2 + 0: Trim mode + 1: Checkpoint mode + 2: Committed mode + See Documentation/device-mapper/dm-bow for details