summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.c
diff options
context:
space:
mode:
authorMike Snitzer2009-12-11 00:52:22 +0100
committerAlasdair G Kergon2009-12-11 00:52:22 +0100
commit1d0f3ce83200edc5d43723c77c62b09ad6560294 (patch)
treedd7f0306c14334d8cb2fbcabe18243c94da4b869 /drivers/md/dm.c
parentdm io: handle empty barriers (diff)
downloadkernel-qcow2-linux-1d0f3ce83200edc5d43723c77c62b09ad6560294.tar.gz
kernel-qcow2-linux-1d0f3ce83200edc5d43723c77c62b09ad6560294.tar.xz
kernel-qcow2-linux-1d0f3ce83200edc5d43723c77c62b09ad6560294.zip
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