public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* making an in-memory hashing table ["name" -> ino_t] with thousands of entries
@ 2004-10-01 12:02 Luke Kenneth Casson Leighton
  2004-10-01 12:30 ` Martin Waitz
  0 siblings, 1 reply; 3+ messages in thread
From: Luke Kenneth Casson Leighton @ 2004-10-01 12:02 UTC (permalink / raw)
  To: linux-kernel

dear kernel hackers,

i seek advice on how to do an in-kernel lookup table capable of storing
thousands, potentially hundreds of thousands, of entries.

the reason for this is to move the fuse userspace inode lookup
tables into the kernel.

fuse userspace servers have their own in-memory database of
unique inode numbers which represent the file names, and there is a
communication mechanism between userspace and kernelspace that transfers
those inode numbers, amongst other things.

is there any _sane_ way to do this or should i leave the inode lookup
table where it presently is - in userspace?

bearing in mind that for every file accessed via a fuse
filesystem, a cache entry is created, and therefore the number
of entries could potentially run into hundreds of thousands
of entries.

l.

-- 
--
Truth, honesty and respect are rare commodities that all spring from
the same well: Love.  If you love yourself and everyone and everything
around you, funnily and coincidentally enough, life gets a lot better.
--
<a href="http://lkcl.net">      lkcl.net      </a> <br />
<a href="mailto:lkcl@lkcl.net"> lkcl@lkcl.net </a> <br />


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-01 13:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-01 12:02 making an in-memory hashing table ["name" -> ino_t] with thousands of entries Luke Kenneth Casson Leighton
2004-10-01 12:30 ` Martin Waitz
2004-10-01 13:33   ` Luke Kenneth Casson Leighton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox