ANDROID: dm-bow: Add ABI documentation
Add description of sysfs files Test: none Bug: 210958368 Change-Id: I8ddb678e0e0f1dbbcfb9455d6e17b726337d585c Signed-off-by: Paul Lawrence <paullawrence@google.com>
This commit is contained in:
19
Documentation/ABI/testing/dm-bow
Normal file
19
Documentation/ABI/testing/dm-bow
Normal file
@@ -0,0 +1,19 @@
|
||||
What: /sys/block/dm-<num>/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-<num>/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
|
||||
Reference in New Issue
Block a user