public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
* using page cache directly?
@ 2003-11-21 20:04 Shaya Potter
  2003-11-21  9:00 ` Joseph D. Wagner
  0 siblings, 1 reply; 3+ messages in thread
From: Shaya Potter @ 2003-11-21 20:04 UTC (permalink / raw)
  To: linux-fsdevel

I'm trying to write a stackable file system that supports branching 
(i.e. mount time options of old_branch and new_branch).  In order to do 
it, I need to version the directories as well, what I'd like to do is 
have a file act as the directory (basically ";branch" on the underlying 
fs inside the right dir) which will just map "Stacked Filename" to 
"underlying filename".  If I were doing it in user space, I'd just mmap 
the file, and deal with it directly like that, but as I understand it's 
not really appropriate to do that inside the kernel (and only possible 
w/ vmalloc'd pages).  The correct way (I was told) is to use the page 
cache.  As don't have a lot of experience with that, can someone point 
me in the right direction so I can learn to deal w/ it.

thanks,

shaya


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

end of thread, other threads:[~2003-11-21 21:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-21 20:04 using page cache directly? Shaya Potter
2003-11-21  9:00 ` Joseph D. Wagner
2003-11-21 21:10   ` Pat LaVarre

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