PERFORCE change 111268 for review
Matt Jacob
mjacob at FreeBSD.org
Thu Dec 7 16:05:13 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=111268
Change 111268 by mjacob at newisp on 2006/12/08 00:04:01
Undo the damage from an unintended commit.
Affected files ...
.. //depot/projects/newisp/conf/NOTES#16 edit
.. //depot/projects/newisp/conf/options#10 edit
.. //depot/projects/newisp/geom/stripe/g_stripe.c#4 edit
.. //depot/projects/newisp/geom/stripe/g_stripe.h#3 edit
Differences ...
==== //depot/projects/newisp/conf/NOTES#16 (text+ko) ====
@@ -110,21 +110,6 @@
#
options BLKDEV_IOSIZE=8192
-#
-# MAXPHYS and DFLTPHYS
-#
-# These are the max and default 'raw' I/O block device access sizes.
-# Reads and writes will be split into DFLTPHYS chunks. Some applications
-# have better performance with larger raw I/O access sizes. Typically
-# MAXPHYS should be twice the size of DFLTPHYS. Note that certain VM
-# parameters are derived from these values and making them too large
-# can make an an unbootable kernel.
-#
-# The defaults are 64K and 128K respectively.
-options DFLTPHYS=(64*1024)
-options MAXPHYS=(128*1024)
-
-
# Options for the VM subsystem
# Deprecated options supported for backwards compatibility
#options PQ_NOOPT # No coloring
==== //depot/projects/newisp/conf/options#10 (text+ko) ====
@@ -535,8 +535,6 @@
# These cause changes all over the kernel
BLKDEV_IOSIZE opt_global.h
-MAXPHYS opt_global.h
-DFLTPHYS opt_global.h
BURN_BRIDGES opt_global.h
DEBUG opt_global.h
DEBUG_LOCKS opt_global.h
==== //depot/projects/newisp/geom/stripe/g_stripe.c#4 (text+ko) ====
@@ -839,12 +839,6 @@
gp->softc = sc;
sc->sc_geom = gp;
sc->sc_provider = NULL;
- /*
- * Create a devstat entry for this stripe (always unit zero).
- * Sectorsize is system block size in this case.
- */
- sc->sc_devstat = devstat_new_entry(md->md_name, 0,
- 512 /* XXX WHICH DEFINE? XXXX */ , DEVSTAT_ALL_SUPPORTED, DEVSTAT_TYPE_DIRECT, DEVSTAT_PRIORITY_MAX);
G_STRIPE_DEBUG(0, "Device %s created (id=%u).", sc->sc_name, sc->sc_id);
@@ -886,9 +880,6 @@
KASSERT(sc->sc_provider == NULL, ("Provider still exists? (device=%s)",
gp->name));
free(sc->sc_disks, M_STRIPE);
- if (sc->sc_devstat) {
- devstat_remove_entry(sc->sc_devstat);
- }
free(sc, M_STRIPE);
pp = LIST_FIRST(&gp->provider);
==== //depot/projects/newisp/geom/stripe/g_stripe.h#3 (text+ko) ====
@@ -67,7 +67,6 @@
} \
} while (0)
-struct devstat;
struct g_stripe_softc {
u_int sc_type; /* provider type */
struct g_geom *sc_geom;
@@ -77,7 +76,6 @@
uint16_t sc_ndisks;
uint32_t sc_stripesize;
uint32_t sc_stripebits;
- struct devstat *sc_devstat;
};
#define sc_name sc_geom->name
#endif /* _KERNEL */
More information about the p4-projects
mailing list