[OpenAFS-devel] PATCH: break up cache into reasonable subdirs for large cache sizes

Derek Atkins warlord@MIT.EDU
07 Jul 2001 23:34:32 -0400


Sam Hartman <hartmans@mekinok.com> writes:

> Any reason not to take log2 of the given value?

Well, I would have to take log2() and convert to an integer (I have
limited myself to a power of two, but I suspect I didn't need to
optimize that as heavily as I did).  I just figured this would be
easier, and quite honestly I don't expect anyone to muck with this
switch.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available