Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jul 2005 10:03:16 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/geom/zero g_zero.c src/sys/modules/geom/geom_zero Makefile
Message-ID:  <200507251003.j6PA3Gr7003418@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2005-07-25 10:03:16 UTC

  FreeBSD src repository

  Added files:
    sys/geom/zero        g_zero.c 
    sys/modules/geom/geom_zero Makefile 
  Log:
  Add a very simple and small GEOM class - ZERO.
  It creates very huge provider (41PB) /dev/gzero.
  On BIO_READ request it zero-fills bio_data and on BIO_WRITE it does nothing.
  You can also set kern.geom.zero.clear sysctl to 0 to do nothing even for
  BIO_READ.
  
  I'm using it for performance testing where it is very helpful.
  
  MFC after:      3 days
  
  Revision  Changes    Path
  1.1       +113 -0    src/sys/geom/zero/g_zero.c (new)
  1.1       +8 -0      src/sys/modules/geom/geom_zero/Makefile (new)



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