diff options
author | David Anderson <dvander@google.com> | 2018-06-19 18:13:07 -0700 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2018-06-20 15:16:05 -0700 |
commit | e1c0744c2647fd48d1c57d9628a145d3f3284107 (patch) | |
tree | 3d88acd251e677bd0ac99ff82a21fa2d3930917b /libutils/ProcessCallStack.cpp | |
parent | b1a834ec314f277ab1064a776f71e4e692d4b764 (diff) |
libdm: Implement LoadTableAndActivate.
This change implements DeviceMapper::LoadTableAndActivate by serializing
the given DmTable and issuing DM_TABLE_LOAD and DM_DEV_SUSPEND ioctls.
In addition, this makes the CreateDevice() method private, and
introduces a separate method for creating a device and loading a table
as a single operation. This will obviate the need for separate inactive
device cleanup logic later.
Note that this change does not yet implement DmTable::Serialize().
Bug: 110035986
Test: N/A
Change-Id: Ic8affe591db4930ce672b00db989978b57ca8cbf
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions