[OpenAFS-devel] PATCH: autotuned cache files limit and fs
getcacheparms update
Jeffrey Hutzelman
jhutz@cmu.edu
Sun, 28 Aug 2005 19:33:16 -0400
On Saturday, August 27, 2005 21:03:37 -0500 Troy Benjegerdes
<hozer@hozed.org> wrote:
> Here's a better version. Default behavior is the following:
>
>> fs getcache
> AFS using 22% of cache blocks (4346186 of 20000000 1k blocks)
> 18% of the cache files (91319 of 500000 files)
Yeah; you're still changing the default output format.
Please don't do that; give people a -verbose switch or whatever, but don't
say "well, if you have a script that parses this, then you need to either
teach it to parse the new format, or have it pass a new switch that old
versions of the tool won't accept".
As it stands now, there is no way for a program to invoke 'fs getcache' in
a way that is guaranteed to produce the output format it needs without
knowing in advance whether it has your patch or not.