Date: Fri, 17 Jun 2011 06:23:58 +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: <201106170624.p5H6OFho052801@repoman.freebsd.org>
index | next in thread | raw e-mail
mav 2011-06-17 06:23:58 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/geom geom.h geom_disk.c
Log:
SVN rev 223176 on 2011-06-17 06:23:58Z by mav
MFC r219970:
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.
Revision Changes Path
1.106.2.5 +6 -0 src/sys/geom/geom.h
1.110.2.6 +90 -9 src/sys/geom/geom_disk.c
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106170624.p5H6OFho052801>
