summaryrefslogtreecommitdiffstats
path: root/sys/geom/raid3/g_raid3.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-11-01 22:16:53 +0000
committerpjd <pjd@FreeBSD.org>2006-11-01 22:16:53 +0000
commitcf33008f77f45f702d505c68cd3bc82012fd47e7 (patch)
tree8e3d161d51311c97f8d70f6a92f55f36b384e7e5 /sys/geom/raid3/g_raid3.c
parent24d04bdcf8d07b2968e6cec5ac0fee1081f16853 (diff)
downloadFreeBSD-src-cf33008f77f45f702d505c68cd3bc82012fd47e7.zip
FreeBSD-src-cf33008f77f45f702d505c68cd3bc82012fd47e7.tar.gz
Change spaces to tabs where needed.
Diffstat (limited to 'sys/geom/raid3/g_raid3.c')
-rw-r--r--sys/geom/raid3/g_raid3.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/sys/geom/raid3/g_raid3.c b/sys/geom/raid3/g_raid3.c
index 3cb1c6c..e08e331 100644
--- a/sys/geom/raid3/g_raid3.c
+++ b/sys/geom/raid3/g_raid3.c
@@ -1513,8 +1513,8 @@ static void
g_raid3_regular_delay(struct g_raid3_softc *sc, struct bio *bp)
{
- G_RAID3_LOGREQ(2, bp, "Delaying request.");
- bioq_insert_head(&sc->sc_regular_delayed, bp);
+ G_RAID3_LOGREQ(2, bp, "Delaying request.");
+ bioq_insert_head(&sc->sc_regular_delayed, bp);
}
/*
@@ -1524,8 +1524,8 @@ static void
g_raid3_sync_delay(struct g_raid3_softc *sc, struct bio *bp)
{
- G_RAID3_LOGREQ(2, bp, "Delaying synchronization request.");
- bioq_insert_tail(&sc->sc_sync_delayed, bp);
+ G_RAID3_LOGREQ(2, bp, "Delaying synchronization request.");
+ bioq_insert_tail(&sc->sc_sync_delayed, bp);
}
/*
@@ -1535,13 +1535,13 @@ g_raid3_sync_delay(struct g_raid3_softc *sc, struct bio *bp)
static void
g_raid3_regular_release(struct g_raid3_softc *sc)
{
- struct bio *bp, *bp2;
+ struct bio *bp, *bp2;
- TAILQ_FOREACH_SAFE(bp, &sc->sc_regular_delayed.queue, bio_queue, bp2) {
- if (g_raid3_sync_collision(sc, bp))
- continue;
- bioq_remove(&sc->sc_regular_delayed, bp);
- G_RAID3_LOGREQ(2, bp, "Releasing delayed request (%p).", bp);
+ TAILQ_FOREACH_SAFE(bp, &sc->sc_regular_delayed.queue, bio_queue, bp2) {
+ if (g_raid3_sync_collision(sc, bp))
+ continue;
+ bioq_remove(&sc->sc_regular_delayed, bp);
+ G_RAID3_LOGREQ(2, bp, "Releasing delayed request (%p).", bp);
mtx_lock(&sc->sc_queue_mtx);
bioq_insert_head(&sc->sc_queue, bp);
#if 0
@@ -1552,7 +1552,7 @@ g_raid3_regular_release(struct g_raid3_softc *sc)
wakeup(&sc->sc_queue);
#endif
mtx_unlock(&sc->sc_queue_mtx);
- }
+ }
}
/*
@@ -1562,16 +1562,16 @@ g_raid3_regular_release(struct g_raid3_softc *sc)
static void
g_raid3_sync_release(struct g_raid3_softc *sc)
{
- struct bio *bp, *bp2;
+ struct bio *bp, *bp2;
- TAILQ_FOREACH_SAFE(bp, &sc->sc_sync_delayed.queue, bio_queue, bp2) {
- if (g_raid3_regular_collision(sc, bp))
- continue;
- bioq_remove(&sc->sc_sync_delayed, bp);
- G_RAID3_LOGREQ(2, bp,
- "Releasing delayed synchronization request.");
- g_io_request(bp, bp->bio_from);
- }
+ TAILQ_FOREACH_SAFE(bp, &sc->sc_sync_delayed.queue, bio_queue, bp2) {
+ if (g_raid3_regular_collision(sc, bp))
+ continue;
+ bioq_remove(&sc->sc_sync_delayed, bp);
+ G_RAID3_LOGREQ(2, bp,
+ "Releasing delayed synchronization request.");
+ g_io_request(bp, bp->bio_from);
+ }
}
/*
OpenPOWER on IntegriCloud