diff options
author | Toshi Kani <[email protected]> | 2016-06-28 13:37:16 -0600 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2016-07-20 23:49:51 -0400 |
commit | f6e629bd2379dceb547be93915314307871a7f6c (patch) | |
tree | 3a2ef8ed074e273c081eca2ca0adfd4bce6f561d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | beec25b4573bc310f5a12cf33207b20ecc30945c (diff) |
dm snap: add fake origin_direct_access
dax-capable mapped-device is marked as DM_TYPE_DAX_BIO_BASED,
which supports both dax and bio-based operations. dm-snap
needs to work with dax-capable device when bio-based operation
is used.
Add fake origin_direct_access() to origin device so that its
origin device is also marked as DM_TYPE_DAX_BIO_BASED for
dax-capable device. This allows to extend target's DM table.
dm-snap works normally when bio-based operation is used.
dm-snap does not support dax operation, and mount with dax
option to a target device or snapshot device fails.
Signed-off-by: Toshi Kani <[email protected]>
Cc: Mike Snitzer <[email protected]>
Cc: Alasdair Kergon <[email protected]>
Cc: Dan Williams <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions