[Linux-cachefs] (no subject)

Peter Staubach staubach at redhat.com
Wed Jan 17 14:58:00 UTC 2007


gaurav wrote:
> i couldnt understand.."it depends"... depends on what??
> there is no such circumstances... the question is simple...
> for every process whether the kernel allocates new buffer pool for the 
> data
> knowing that the processes want to access the same data block....
> or on other hand the processes use only a single copy of data to access
>
>
> On 1/17/07, David Howells <dhowells at redhat.com> wrote:
>>
>> gaurav <gaurav1207 at gmail.com> wrote:
>>
>> > i wanted to know what exact mechanism takes place at file system level
>> when
>> > two or more processes try to access the same data from the same 
>> disk in
>> > linux 2.6.18 kernel ...
>> > My query is that for every incoming process new buffer is allocated 
>> for
>> the
>> > data or the same buffer is used again and again.
>>
>> The answer is: it depends...  Can you clarify the circumstances you're
>> asking
>> about?  Is this involving FS-Cache?
>>
>> David
>>

Unfortunately, the question is not that simple.  It depends upon the
specific implemention for the file system that you are attempting to
access.  So, could you explain which file system it is that you are
attempting to get information about?  The answer is not system general,
it is file system specific.

Given that, in general, cached data is shared among all processes
accessing the same file.

You posted to the CacheFS list, so one might assume that it is cachefs
that you are asking about.  However, this is not clear and thus, David
asked.

    Thanx...

       ps




More information about the Linux-cachefs mailing list