struct drive: add fields for debugging lockdrive deadlocks.
This commit is contained in:
parent
f83e10d7ca
commit
09c1cbfe92
|
@ -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 ***/
|
||||
|
|
Loading…
Reference in New Issue