diff options
author | pjd <pjd@FreeBSD.org> | 2004-12-28 21:52:45 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-12-28 21:52:45 +0000 |
commit | 19556523263f5fad19cc6f2fe189270919473302 (patch) | |
tree | 84d5078894ea60dfdc04d55aa2f6a0460f8dbd51 /sys/geom/raid3 | |
parent | 38cd373d81b641f34f18ad624221c77685cd64a4 (diff) | |
download | FreeBSD-src-19556523263f5fad19cc6f2fe189270919473302.zip FreeBSD-src-19556523263f5fad19cc6f2fe189270919473302.tar.gz |
Remove debug code.
Diffstat (limited to 'sys/geom/raid3')
-rw-r--r-- | sys/geom/raid3/g_raid3.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/geom/raid3/g_raid3.c b/sys/geom/raid3/g_raid3.c index 6130de8..5dbf94b 100644 --- a/sys/geom/raid3/g_raid3.c +++ b/sys/geom/raid3/g_raid3.c @@ -1778,14 +1778,6 @@ g_raid3_worker(void *arg) G_RAID3_DEBUG(5, "%s: I'm here 1.", __func__); continue; } -#if 1 - if (ep != NULL) { - printf("The topology lock is already held.\n"); -#if 0 - tsleep(&ep, PRIBIO, "r3:hmm", hz * 3); -#endif - } -#endif /* * Now I/O requests. */ @@ -1799,7 +1791,7 @@ g_raid3_worker(void *arg) * already held? Try again. */ mtx_unlock(&sc->sc_queue_mtx); - tsleep(ep, PRIBIO, "r3:hmm1", hz / 5); + tsleep(ep, PRIBIO, "r3:top1", hz / 5); continue; } if ((sc->sc_flags & @@ -1879,7 +1871,7 @@ sleep: * We have some pending events, don't sleep now. */ G_RAID3_DEBUG(5, "%s: I'm here 7.", __func__); - tsleep(ep, PRIBIO, "r3:hmm2", hz / 5); + tsleep(ep, PRIBIO, "r3:top2", hz / 5); continue; } mtx_lock(&sc->sc_queue_mtx); |