Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 2003 05:03:57 -0800 (PST)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, legacy-committers@FreeBSD.org
Subject:   cvs commit: src/sys/conf files src/sys/geom geom.h geom_dev.c geom_int.h geom_io.c geom_kern.c geom_stats.c geom_stats.h geom_subr.c src/sys/geom/bde g_bde_lock.c g_bde_work.c
Message-ID:  <200302081303.h18D3vQY003554@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2003/02/08 05:03:57 PST

  Modified files:
    sys/conf             files 
    sys/geom             geom.h geom_dev.c geom_int.h geom_io.c 
                         geom_kern.c geom_subr.c 
    sys/geom/bde         g_bde_lock.c g_bde_work.c 
  Added files:
    sys/geom             geom_stats.c geom_stats.h 
  Log:
  Move the g_stat struct to its own .h file, we will export it to other code.
  
  Insted of embedding a struct g_stat in consumers and providers, merely
  include a pointer.
  
  Remove a couple of <sys/time.h> includes now unneeded.
  
  Add a special allocator for struct g_stat.  This allocator will allocate
  entire pages and hand out g_stat functions from there.  The "id" field
  indicates free/used status.
  
  Add "/dev/geom.stats" device driver whic exports the pages from the
  allocator to userland with mmap(2) in read-only mode.
  
  This mmap(2) interface should be considered a non-public interface and
  the functions in libgeom (not yet committed) should be used to access
  the statistics data.
  
  Revision  Changes    Path
  1.757     +1 -0      src/sys/conf/files
  1.8       +0 -1      src/sys/geom/bde/g_bde_lock.c
  1.6       +0 -1      src/sys/geom/bde/g_bde_work.c
  1.43      +3 -24     src/sys/geom/geom.h
  1.43      +2 -1      src/sys/geom/geom_dev.c
  1.10      +5 -0      src/sys/geom/geom_int.h
  1.26      +23 -22    src/sys/geom/geom_io.c
  1.20      +2 -0      src/sys/geom/geom_kern.c
  1.1       +145 -0    src/sys/geom/geom_stats.c (new)
  1.1       +56 -0     src/sys/geom/geom_stats.h (new)
  1.29      +7 -3      src/sys/geom/geom_subr.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-src" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302081303.h18D3vQY003554>