commit | 756d006746be0973aea701d539aff00280659278 | [log] [tgz] |
---|---|---|
author | Alessio Balsini <balsini@google.com> | Mon Jul 29 19:45:04 2019 +0100 |
committer | Alessio Balsini <balsini@google.com> | Mon Jul 29 20:35:56 2019 +0100 |
tree | aa1e11f88df4870d26ab143af02fc403b991502d | |
parent | 0e0c3b756b465dac694d72d5431b131b9c59c5e5 [diff] |
libdm: suspend and resume devices In some cases it would be required to suspend the device to succesfully complete some operations. An example is the suspension of the origin device that is necessary to avoid data corruption when merging a snapshot. Introduce suspend and resume ioctls in libdm. Bug: 137759376 Test: libdm_test Change-Id: Id2ff34e930a8b32e570cb9f49da9cc3f65cb499c Signed-off-by: Alessio Balsini <balsini@google.com>