diff options
author | Alasdair G Kergon <agk@redhat.com> | 2012-07-27 20:03:07 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-07-27 20:03:07 +0100 |
commit | 25ae0b39b77d80990d0821729ab4f2307bd38c16 (patch) | |
tree | 4a902a55dcf4708f6d7a6d2febcf661fde2ad7aa /libdm | |
parent | 186a2772e8ac3c2088bdfc833c32d773464d666b (diff) | |
download | lvm2-25ae0b39b77d80990d0821729ab4f2307bd38c16.tar.gz lvm2-25ae0b39b77d80990d0821729ab4f2307bd38c16.tar.xz lvm2-25ae0b39b77d80990d0821729ab4f2307bd38c16.zip |
dmsetup: allow --noflush with status/wait for thin
Allow --noflush with dmsetup status and wait (for thin target 1.3.0 /
ioctl 4.23.0).
Diffstat (limited to 'libdm')
-rw-r--r-- | libdm/misc/dm-ioctl.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libdm/misc/dm-ioctl.h b/libdm/misc/dm-ioctl.h index c0313150..1cf66fef 100644 --- a/libdm/misc/dm-ioctl.h +++ b/libdm/misc/dm-ioctl.h @@ -1,6 +1,6 @@ /* * Copyright (C) 2001 - 2003 Sistina Software (UK) Limited. - * Copyright (C) 2004 - 2009 Red Hat, Inc. All rights reserved. + * Copyright (C) 2004 - 2012 Red Hat, Inc. All rights reserved. * * This file is released under the LGPL. */ @@ -269,9 +269,9 @@ enum { #define DM_DEV_SET_GEOMETRY _IOWR(DM_IOCTL, DM_DEV_SET_GEOMETRY_CMD, struct dm_ioctl) #define DM_VERSION_MAJOR 4 -#define DM_VERSION_MINOR 20 +#define DM_VERSION_MINOR 23 #define DM_VERSION_PATCHLEVEL 0 -#define DM_VERSION_EXTRA "-ioctl (2011-02-02)" +#define DM_VERSION_EXTRA "-ioctl (2012-07-25)" /* Status bits */ #define DM_READONLY_FLAG (1 << 0) /* In/Out */ @@ -309,6 +309,8 @@ enum { /* * Set this to suspend without flushing queued ios. + * Also disables flushing uncommitted changes in the thin target before + * generating statistics for DM_TABLE_STATUS and DM_DEV_WAIT. */ #define DM_NOFLUSH_FLAG (1 << 11) /* In */ @@ -331,8 +333,8 @@ enum { #define DM_UUID_FLAG (1 << 14) /* In */ /* - * If set, all buffers are wiped after use. Used when sending - * or requesting sensitive data like crypt key. + * If set, all buffers are wiped after use. Use when sending + * or requesting sensitive data such as an encryption key. */ #define DM_SECURE_DATA_FLAG (1 << 15) /* In */ |