summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2009-12-10 23:52:22 +0000
committerAlasdair G Kergon <agk@redhat.com>2009-12-10 23:52:22 +0000
commit1d0f3ce83200edc5d43723c77c62b09ad6560294 (patch)
treedd7f0306c14334d8cb2fbcabe18243c94da4b869 /drivers/md/dm.c
parent12fc0f49dc994d8d90dcf3df13f5b1ee5441288d (diff)
downloadop-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.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud