Ok, next in the NO_GEOM cleanup series:

        http://phk.freebsd.dk/patch/devstat.patch

This patch centralizes the devstat handling for all disk device
drivers under GEOM in geom_disk.c

As a side effect this makes 40 #include <sys/devicestat.h>
lines surplus to requirements and some biofinish() calls gets
simplified so they can become biodone() calls (again).

The total savings are 140 lines.

I plan to commit this patch on saturday.

Reviews and test-reports most welcome.

Poul-Henning

PS: This is the list of affected files:

        Index: alpha/alpha/autoconf.c
        Index: cam/cam_periph.h
        Index: cam/cam_xpt.c
        Index: cam/scsi/scsi_da.c
        Index: cam/scsi/scsi_low.c
        Index: cam/scsi/scsi_ses.c
        Index: contrib/dev/fla/fla.c
        Index: dev/aac/aac.c
        Index: dev/aac/aac_cam.c
        Index: dev/aac/aac_debug.c
        Index: dev/aac/aac_disk.c
        Index: dev/aac/aac_pci.c
        Index: dev/aac/aacvar.h
        Index: dev/amr/amr.c
        Index: dev/amr/amr_cam.c
        Index: dev/amr/amr_compat.h
        Index: dev/amr/amr_disk.c
        Index: dev/amr/amr_pci.c
        Index: dev/amr/amrvar.h
        Index: dev/ata/ata-all.c
        Index: dev/ata/ata-disk.c
        Index: dev/ata/ata-disk.h
        Index: dev/ata/ata-raid.c
        Index: dev/ata/atapi-cam.c
        Index: dev/ata/atapi-fd.c
        Index: dev/ata/atapi-fd.h
        Index: dev/ccd/ccd.c
        Index: dev/ciss/ciss.c
        Index: dev/firewire/sbp.c
        Index: dev/ida/ida.c
        Index: dev/ida/ida_disk.c
        Index: dev/ida/ida_eisa.c
        Index: dev/ida/ida_pci.c
        Index: dev/ida/idavar.h
        Index: dev/md/md.c
        Index: dev/mlx/mlx.c
        Index: dev/mlx/mlx_compat.h
        Index: dev/mlx/mlx_disk.c
        Index: dev/mlx/mlx_pci.c
        Index: dev/mlx/mlxvar.h
        Index: dev/mly/mly.c
        Index: dev/ofw/ofw_disk.c
        Index: dev/ppbus/vpo.c
        Index: dev/pst/pst-raid.c
        Index: dev/raidframe/rf_freebsdkintf.c
        Index: dev/twe/twe_compat.h
        Index: dev/twe/twe_freebsd.c
        Index: dev/usb/umass.c
        Index: dev/vinum/vinum.c
        Index: geom/geom_disk.c
        Index: ia64/ia64/autoconf.c
        Index: ia64/ia64/sscdisk.c
        Index: pc98/pc98/wd.c
        Index: sys/ccdvar.h
        Index: sys/disk.h

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to