Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Mar 2011 19:23:42 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/geom geom.h geom_disk.c
Message-ID:  <201103241924.p2OJO2KV039177@repoman.freebsd.org>

index | next in thread | raw e-mail

mav         2011-03-24 19:23:42 UTC

  FreeBSD src repository

  Modified files:
    sys/geom             geom.h geom_disk.c 
  Log:
  SVN rev 219970 on 2011-03-24 19:23:42Z by mav
  
  MFgraid/head r218212, r218257:
  Introduce new type of BIO_GETATTR -- GEOM::setstate, used to inform lower
  GEOM about state of it's providers from the point of upper layers.
  Make geom_disk use led(4) subsystem to illuminate states in such fashion:
  FAILED - "1" (on), REBUILD - "f5" (slow blink), RESYNC - "f1" (fast blink),
  ACTIVE - "0" (off).
  LED name should be set for each disk via kern.geom.disk.%s.led sysctl.
  Later disk API could be extended to allow disk driver to report this info
  in custom way via it's own facilities.
  
  Revision  Changes    Path
  1.109     +6 -0      src/sys/geom/geom.h
  1.117     +90 -9     src/sys/geom/geom_disk.c


help

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