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
1 changed files with 4 additions and 0 deletions

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