1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/sys/geom
Poul-Henning Kamp 801bb689ca Commit the correct copy of the g_stat structure.
Add debug.sizeof.g_stat sysctl.

Set the id field of the g_stat when we create consumers and providers.

Remove biocount from consumer, we will use the counters in the g_stat
structure instead.  Replace one field which will need to be atomically
manipulated with two fields which will not (stat.nop and stat.nend).

Change add companion field to bio_children: bio_inbed for the exact
same reason.

Don't output the biocount in the confdot output.

Fix KASSERT in g_io_request().

Add sysctl kern.geom.collectstats defaulting to off.

Collect the following raw statistics conditioned on this sysctl:

    for each consumer and provider {
        total number of operations started.
        total number of operations completed.
        time last operation completed.
        sum of idle-time.
        for each of BIO_READ, BIO_WRITE and BIO_DELETE {
            number of operations completed.
            number of bytes completed.
            number of ENOMEM errors.
            number of other errors.
            sum of transaction time.
        }
    }

API for getting hold of these statistics data not included yet.
2003-02-07 23:08:24 +00:00
..
bde Add the new statistics structure, put one in consumers and providers. 2003-02-07 21:43:34 +00:00
geom_aes.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
geom_apple.c Add a rudimentary class for slicing Apple partitioned disks. 2003-01-31 16:27:07 +00:00
geom_bsd.c Mark some args unused so this compiles in userland. 2003-01-28 09:48:09 +00:00
geom_ccd.c Eliminate the sc_openmask, ccdopen() and ccdclose() functions, we 2003-02-01 11:17:22 +00:00
geom_ctl.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
geom_dev.c Commit the correct copy of the g_stat structure. 2003-02-07 23:08:24 +00:00
geom_disk.c Check return value of g_clone_bio(). 2003-02-06 22:00:47 +00:00
geom_dump.c Commit the correct copy of the g_stat structure. 2003-02-07 23:08:24 +00:00
geom_enc.c Add the new statistics structure, put one in consumers and providers. 2003-02-07 21:43:34 +00:00
geom_event.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
geom_gpt.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
geom_int.h Commit the correct copy of the g_stat structure. 2003-02-07 23:08:24 +00:00
geom_io.c Commit the correct copy of the g_stat structure. 2003-02-07 23:08:24 +00:00
geom_kern.c Commit the correct copy of the g_stat structure. 2003-02-07 23:08:24 +00:00
geom_mbr.c Remove commented out g_enc_dos_partition(). We won't be needing it. 2003-01-31 21:18:41 +00:00
geom_mirror.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
geom_pc98.c In userland case include <errno.h>, not <err.h>. This is needed to make 2003-01-06 20:05:45 +00:00
geom_slice.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
geom_slice.h Get rid of g_slice_addslice() and use g_slice_config() instead. 2002-12-16 23:08:48 +00:00
geom_subr.c Commit the correct copy of the g_stat structure. 2003-02-07 23:08:24 +00:00
geom_sunlabel.c Move configuration of geom/providers into its own function in preparation 2003-02-01 08:28:43 +00:00
geom_vol_ffs.c Add some comments about the deficiencies of this module. I had hoped to get 2003-02-07 17:50:33 +00:00
geom.h Commit the correct copy of the g_stat structure. 2003-02-07 23:08:24 +00:00
notes Commit the correct copy of the g_stat structure. 2003-02-07 23:08:24 +00:00