summaryrefslogtreecommitdiff
path: root/sys/dev/dm
diff options
context:
space:
mode:
authorhaad <haad@NetBSD.org>2009-01-16 11:19:02 +0000
committerhaad <haad@NetBSD.org>2009-01-16 11:19:02 +0000
commitd80238dac91333f29210d7e65e4e41ef6d23c869 (patch)
tree02669cf3a3779967dcbdb95c08a5666525f39b42 /sys/dev/dm
parent21a81eb749d129bea5ef636874883ae5a3b53b2c (diff)
Add struct disk to dm_dev so our LV will beshowed in iostat output.
Diffstat (limited to 'sys/dev/dm')
-rw-r--r--sys/dev/dm/dm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/dm/dm.h b/sys/dev/dm/dm.h
index 87d5f4fa098..c73c383b9d2 100644
--- a/sys/dev/dm/dm.h
+++ b/sys/dev/dm/dm.h
@@ -1,4 +1,4 @@
-/* $NetBSD: dm.h,v 1.7 2009/01/11 11:54:52 haad Exp $ */
+/* $NetBSD: dm.h,v 1.8 2009/01/16 11:19:02 haad Exp $ */
/*
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -131,6 +131,7 @@ typedef struct dm_dev {
struct dm_dev_head upcalls;
struct disklabel *dk_label; /* Disklabel for this table. */
+ struct disk *diskp;
TAILQ_ENTRY(dm_dev) next_upcall; /* LIST of mirrored, snapshoted devices. */