summaryrefslogtreecommitdiffstats
path: root/sys/dev/vinum/vinumvar.h
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>1999-04-10 08:12:44 +0000
committergrog <grog@FreeBSD.org>1999-04-10 08:12:44 +0000
commit4ea2c51252058b5f9a0a3caaed88e110a970de9d (patch)
tree29caab3a15add5fe4fe9b184c743c491096dff54 /sys/dev/vinum/vinumvar.h
parent16b49ae256d6459db962b4d56af7244a20848c54 (diff)
downloadFreeBSD-src-4ea2c51252058b5f9a0a3caaed88e110a970de9d.zip
FreeBSD-src-4ea2c51252058b5f9a0a3caaed88e110a970de9d.tar.gz
struct drive: add fields for debugging lockdrive deadlocks.
Diffstat (limited to 'sys/dev/vinum/vinumvar.h')
-rw-r--r--sys/dev/vinum/vinumvar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/vinum/vinumvar.h b/sys/dev/vinum/vinumvar.h
index c9ff9a4..beeeecf 100644
--- a/sys/dev/vinum/vinumvar.h
+++ b/sys/dev/vinum/vinumvar.h
@@ -381,6 +381,10 @@ struct drive {
u_int64_t offset;
long sectors;
} *freelist;
+#ifdef VINUMDEBUG
+ char lockfilename[16]; /* name of file from which we were locked */
+ int lockline; /* and the line number */
+#endif
};
/*** Subdisk definitions ***/
OpenPOWER on IntegriCloud