aboutsummaryrefslogtreecommitdiff
path: root/sys/geom/raid3/g_raid3.c
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2006-11-01 22:16:53 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2006-11-01 22:16:53 +0000
commitf187490a2d001f51e85b98131f612ecb02bc1297 (patch)
tree8e3d161d51311c97f8d70f6a92f55f36b384e7e5 /sys/geom/raid3/g_raid3.c
parenta836d5f134639218badbaa12cb1bcd3d78da2b84 (diff)
downloadsrc-f187490a2d001f51e85b98131f612ecb02bc1297.tar.gz
src-f187490a2d001f51e85b98131f612ecb02bc1297.zip
Change spaces to tabs where needed.
Notes
Notes: svn path=/head/; revision=163886
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 3cb1c6c37db1..e08e33128db2 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);
+ }
}
/*