* Triggering readpages operation
@ 2012-07-25 19:59 Layton, Evan J
2012-07-26 11:32 ` Jeff Layton
0 siblings, 1 reply; 3+ messages in thread
From: Layton, Evan J @ 2012-07-25 19:59 UTC (permalink / raw)
To: linux-fsdevel@vger.kernel.org; +Cc: Jelinek, Sarah
I'm working on a project at intel and working on a better understanding of "file system" operations specifically triggering readpages. However I have not been able to figure out how to drive or force the file system to use readpages. I had thought that readahead() would allow me to do this but it's not driving readpages and just goes down the readpage path. Any suggestions on the best way to get the file system to trigger this operation?
Thanks,
-evan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Triggering readpages operation
2012-07-25 19:59 Triggering readpages operation Layton, Evan J
@ 2012-07-26 11:32 ` Jeff Layton
2012-07-26 19:51 ` Layton, Evan J
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Layton @ 2012-07-26 11:32 UTC (permalink / raw)
To: Layton, Evan J; +Cc: linux-fsdevel@vger.kernel.org, Jelinek, Sarah
On Wed, 25 Jul 2012 19:59:26 +0000
"Layton, Evan J" <evan.j.layton@intel.com> wrote:
>
> I'm working on a project at intel and working on a better understanding of "file system" operations specifically triggering readpages. However I have not been able to figure out how to drive or force the file system to use readpages. I had thought that readahead() would allow me to do this but it's not driving readpages and just goes down the readpage path. Any suggestions on the best way to get the file system to trigger this operation?
>
> Thanks,
> -evan
Is your bdi->ra_pages value set to 0?
--
Jeff Layton <jlayton@redhat.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Triggering readpages operation
2012-07-26 11:32 ` Jeff Layton
@ 2012-07-26 19:51 ` Layton, Evan J
0 siblings, 0 replies; 3+ messages in thread
From: Layton, Evan J @ 2012-07-26 19:51 UTC (permalink / raw)
To: Jeff Layton; +Cc: linux-fsdevel@vger.kernel.org, Jelinek, Sarah
No it's showing up as being 32. However I'm not really manipulating
anything in a backing_dev_info structure and just taking the defaults so
perhaps that's what I'm missing?
-evan
(By the way nice last name :)
On 7/26/12 5:32 AM, "Jeff Layton" <jlayton@redhat.com> wrote:
>On Wed, 25 Jul 2012 19:59:26 +0000
>"Layton, Evan J" <evan.j.layton@intel.com> wrote:
>
>>
>> I'm working on a project at intel and working on a better understanding
>>of "file system" operations specifically triggering readpages. However I
>>have not been able to figure out how to drive or force the file system
>>to use readpages. I had thought that readahead() would allow me to do
>>this but it's not driving readpages and just goes down the readpage
>>path. Any suggestions on the best way to get the file system to trigger
>>this operation?
>>
>> Thanks,
>> -evan
>
>
>Is your bdi->ra_pages value set to 0?
>
>--
>Jeff Layton <jlayton@redhat.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-26 19:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-25 19:59 Triggering readpages operation Layton, Evan J
2012-07-26 11:32 ` Jeff Layton
2012-07-26 19:51 ` Layton, Evan J
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).