diff options
author | Mike Snitzer <snitzer@redhat.com> | 2009-12-10 23:52:22 +0000 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2009-12-10 23:52:22 +0000 |
commit | 1d0f3ce83200edc5d43723c77c62b09ad6560294 (patch) | |
tree | dd7f0306c14334d8cb2fbcabe18243c94da4b869 /drivers/md/dm-table.c | |
parent | 12fc0f49dc994d8d90dcf3df13f5b1ee5441288d (diff) | |
download | op-kernel-dev-1d0f3ce83200edc5d43723c77c62b09ad6560294.zip op-kernel-dev-1d0f3ce83200edc5d43723c77c62b09ad6560294.tar.gz |
dm ioctl: retrieve status from inactive table
Add the flag DM_QUERY_INACTIVE_TABLE_FLAG to the ioctls to return
infomation about the loaded-but-not-yet-active table instead of the live
table. Prior to this patch it was impossible to obtain this information
until the device had been 'resumed'.
Userspace dmsetup and libdevmapper support the flag as of version 1.02.40.
e.g. dmsetup info --inactive vg1-lv1
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-table.c')
0 files changed, 0 insertions, 0 deletions