pcp
[Top] [All Lists]

Re: scsi indom in linux PMDA - issues!

To: "Ken McDonell" <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: scsi indom in linux PMDA - issues!
From: fche@xxxxxxxxxx (Frank Ch. Eigler)
Date: Tue, 20 Jan 2015 20:31:20 -0500
Cc: <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <00d101d0350b$a9263430$fb729c90$@internode.on.net> (Ken McDonell's message of "Wed, 21 Jan 2015 10:48:57 +1100")
References: <00d101d0350b$a9263430$fb729c90$@internode.on.net>
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
"Ken McDonell" <kenj@xxxxxxxxxxxxxxxx> writes:

> [...]  In the process of this investigation I quickly checked some
> other pmdaCacheFoo() use in the linux PMDA and there are many issues
> ... this code (and possibly across all PMDAs) needs a thoroughly
> good audit by someone who understands how the pmdaCache services
> really work.

BTW, I'm starting an effort to drastically -reduce- the usage of
pmdaCache stuff in pmdas/linux_proc, in hope of solving problems such as

    https://bugzilla.redhat.com/show_bug.cgi?id=1065803
and http://oss.sgi.com/bugzilla/show_bug.cgi?id=1102
and http://oss.sgi.com/pipermail/pcp/2014-November/005989.html

IMHO the cache should be used for only long-lasting invariant-preserving
things like some instance-domains, instead as a general "lookup table for
stuff", with ill-defined scope and lifespan and access control.


- FChE

<Prev in Thread] Current Thread [Next in Thread>