summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-table.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2009-12-11 00:52:22 +0100
committerAlasdair G Kergon <agk@redhat.com>2009-12-11 00:52:22 +0100
commit1d0f3ce83200edc5d43723c77c62b09ad6560294 (patch)
treedd7f0306c14334d8cb2fbcabe18243c94da4b869 /drivers/md/dm-table.c
parentdm io: handle empty barriers (diff)
downloadlinux-1d0f3ce83200edc5d43723c77c62b09ad6560294.tar.xz
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-table.c')
0 files changed, 0 insertions, 0 deletions