aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/mdioctl.h
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2012-07-07 20:32:21 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2012-07-07 20:32:21 +0000
commitdc604f0cf62e5e8b9b2f0b2bba1447db443238a6 (patch)
tree43f177b6e61b4e88e7b97088b0b3392ef38588c2 /sys/sys/mdioctl.h
parentfcc144ad4e610690adf2826580986a38fe21af37 (diff)
downloadsrc-dc604f0cf62e5e8b9b2f0b2bba1447db443238a6.tar.gz
src-dc604f0cf62e5e8b9b2f0b2bba1447db443238a6.zip
Make it possible to resize md(4) devices.
Reviewed by: kib Sponsored by: FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=238215
Diffstat (limited to 'sys/sys/mdioctl.h')
-rw-r--r--sys/sys/mdioctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/mdioctl.h b/sys/sys/mdioctl.h
index 82ac397530f3..5efae7908003 100644
--- a/sys/sys/mdioctl.h
+++ b/sys/sys/mdioctl.h
@@ -79,6 +79,7 @@ struct md_ioctl {
#define MDIOCDETACH _IOWR('m', 1, struct md_ioctl) /* detach disk */
#define MDIOCQUERY _IOWR('m', 2, struct md_ioctl) /* query status */
#define MDIOCLIST _IOWR('m', 3, struct md_ioctl) /* query status */
+#define MDIOCRESIZE _IOWR('m', 4, struct md_ioctl) /* resize disk */
#define MD_CLUSTER 0x01 /* Don't cluster */
#define MD_RESERVE 0x02 /* Pre-reserve swap */