Gabor Kovesdan f978ef9381 Cache failing and opened catalogs in catopen() and related functions.
Continuous catopen() calls cause 4 failig stat(2) each, which means a lot
of overhead.  It is also a good idea to keep the opened catalogs in the memory
to speed up further catopen() calls to the same catalog since these catalogs
are not big at all.  In this case, we count references and only free() the
allocated space when the reference count reaches 0.  The reads and writes to
the cache are syncronized with an rwlock when these functions are called from
a threaded program.

Requested by:	kib
Approved by:	delphij
2010-01-25 23:37:49 +00:00
..
2009-03-24 23:31:41 +00:00
2010-01-21 11:36:40 +00:00
2009-11-16 19:10:09 +00:00
2009-11-16 19:10:09 +00:00
2009-11-09 12:33:47 +00:00
2009-03-18 14:33:10 +00:00
2009-03-21 10:10:33 +00:00
2009-11-08 11:55:03 +00:00