mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-20 15:43:16 +00:00
Don't use statistics counters to detect outstanding I/O.
This commit is contained in:
parent
c6ae9b5fd2
commit
0e6be4723b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112028
@ -332,7 +332,7 @@ g_detach(struct g_consumer *cp)
|
||||
KASSERT(cp->acr == 0, ("detach but nonzero acr"));
|
||||
KASSERT(cp->acw == 0, ("detach but nonzero acw"));
|
||||
KASSERT(cp->ace == 0, ("detach but nonzero ace"));
|
||||
KASSERT(cp->stat->nop == cp->stat->nend,
|
||||
KASSERT(cp->nstart == cp->nend,
|
||||
("detach with active requests"));
|
||||
pp = cp->provider;
|
||||
LIST_REMOVE(cp, consumers);
|
||||
|
Loading…
Reference in New Issue
Block a user