diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-03-08 08:01:31 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-03-08 08:01:31 +0000 |
| commit | 60794e0478b835c275eccb116cd177a789f87f56 (patch) | |
| tree | 040efa2f46ce483cf5b045724c67c81b1d43d147 /sys/dev/raidframe | |
| parent | 74c69254e6161f609c5b4c3faca34b027753580b (diff) | |
Notes
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_freebsdkintf.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/dev/raidframe/rf_freebsdkintf.c b/sys/dev/raidframe/rf_freebsdkintf.c index 6e1f407b6e19..98374c9f91a2 100644 --- a/sys/dev/raidframe/rf_freebsdkintf.c +++ b/sys/dev/raidframe/rf_freebsdkintf.c @@ -161,7 +161,6 @@ #include <sys/lock.h> #include <sys/reboot.h> #include <sys/module.h> -#include <sys/devicestat.h> #include <vm/uma.h> #include "opt_raid.h" @@ -257,7 +256,6 @@ struct raid_softc { uma_zone_t sc_cbufpool; /* component buffer pool */ RF_Raid_t *raidPtr; /* Raid information struct */ struct bio_queue_head bio_queue; /* used for the device queue */ - struct devstat device_stats; /* devstat gathering */ }; /* sc_flags */ #define RAIDF_OPEN 0x01 /* unit has been initialized */ @@ -601,8 +599,6 @@ out: retcode = rf_Shutdown(sc->raidPtr); RF_THREADGROUP_WAIT_STOP(&sc->raidPtr->engine_tg); - devstat_remove_entry(&sc->device_stats); - disk_destroy(&sc->sc_disk); raidunlock(sc); @@ -1290,11 +1286,6 @@ raidinit(raidPtr) disk_create(raidPtr->raidid, &sc->sc_disk, 0, NULL, NULL); raidPtr->sc = sc; - /* Register with devstat */ - devstat_add_entry(&sc->device_stats, "raid", raidPtr->raidid, 0, - DEVSTAT_NO_BLOCKSIZE | DEVSTAT_NO_ORDERED_TAGS, - DEVSTAT_TYPE_IF_OTHER, DEVSTAT_PRIORITY_ARRAY); - return (sc); } @@ -1435,8 +1426,6 @@ raidstart(raidPtr) */ do_async = 1; - devstat_start_transaction(&sc->device_stats); - /* XXX we're still at splbio() here... do we *really* need to be? */ @@ -3040,8 +3029,6 @@ rf_disk_unbusy(desc) sc = desc->raidPtr->sc; bp = (struct bio *)desc->bp; - - devstat_end_transaction_bio(&sc->device_stats, bp); } /* |
