Skip to contentSkip to conversation

repost for readdir

DISCUSSION jenn sirp 1 participant 1 message Jun 24, 2004

lore
Share & tools
lore

jenn sirp

author
#0 lore raw
Quoted 1 line

Please consider working with V4, it will be easier and more useful I

think.

I plan to. I read the documentation on-line about the plug-in capability of your FS -- very cool. And I have the rest of the summer to poke around with this idea.

My questions are related to the implementation from a performance perspective... If readdir is the only function to be altered... it seems there would be a bit of a performance hit because a linear search, or binary at least would need to be performed every time.

I am also not certain as to how to determine 'when' the file was created I assume it would need to be determined from the inode creation time?

I am just looking for some general pointers as to implementation of this would best be achieved. I thought that maintaining another structure somewhere else in the code, that preserved filenames as they were written into the FS, would speed up readdir.

Hopefully some of that makes sense ; )

Jenn