linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* question regarding the Linux block device cache
@ 2007-03-09 22:24 Xin Zhao
  2007-03-09 23:58 ` Xin Zhao
  0 siblings, 1 reply; 2+ messages in thread
From: Xin Zhao @ 2007-03-09 22:24 UTC (permalink / raw)
  To: linux-kernel, linux-fsdevel

Hi,

I am working on a file system that allow multiple files to share data
blocks. That is, a data block can be shared by two or more files. Now
my question is: suppose file A and B share the same data block D. Now
a process open file A and read block D, then this process closes file
A. If another process open file B and read block D right after the
first process closes A, is the data of block D read from some cache or
has to be loaded from disk again? I think this has to do with the
Linux block device buffer cache. But I am not quite familiar with this
part.

Can someone help me or direct me to the right place to find the answer?

Thanks in advance!

-x

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

end of thread, other threads:[~2007-03-09 23:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-09 22:24 question regarding the Linux block device cache Xin Zhao
2007-03-09 23:58 ` Xin Zhao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).