Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 2009 13:52:01 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-geom@freebsd.org
Subject:   geom_label verbosity patch
Message-ID:  <gspkp8$4g4$1@ger.gmane.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig690A78B14ECA40D946C6712E
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi,

I want to ask for a community review of these patches:

http://people.freebsd.org/~ivoras/diffs/geom_label_errlevel.txt
http://people.freebsd.org/~ivoras/diffs/glabel.8_errlevel.txt

The intent is to make glabel less chatty on detection of new providers,
etc. Since most of these messages were displayed as "priority 0", I
needed to renumber priorities to make them go away at the default level
(level 0).

The DEBUG levels are changed in this way:
- 0 becomes "silent" - no messages at this level - the default level
- 1 contains previous messages at level 0
- 10 contains most of previous messages at level 1
- 20 contains messages of previous level 2 and of level 1 that are the
result of tasting / validating / checksumming instead of specifically
glabel operations

The jump to decadic numbers is for future compatibility, in case more
verbosity levels need to be introduced just like now, to avoid code
churn.

This should go in very fast if it's going to get into 7.2 (OTOH, it's
fairly low priority).

The patches were ready some time ago but there were some blocking delays.=



--------------enig690A78B14ECA40D946C6712E
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ8FZsldnAQVacBcgRAknhAJ9GyM9zTs0AAcO3TiOjUptn0j3+TQCfcr+l
blRKYpRYrkH+pywv7ebaBXw=
=Ookc
-----END PGP SIGNATURE-----

--------------enig690A78B14ECA40D946C6712E--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?gspkp8$4g4$1>