struct drive: add fields for debugging lockdrive deadlocks.

This commit is contained in:
Greg Lehey 1999-04-10 08:12:44 +00:00
parent f83e10d7ca
commit 09c1cbfe92
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45541

View File

@ -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 ***/