Triggering readpages operation
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
Quoted 5 lines · Evan J
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?
Signature · 1 line
Jeff Layton <[email protected]>
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 :)
Quoted 20 lines · Jeff Layton
Quoted 11 lines · Evan J
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,
-evanIs your
bdi->ra_pagesvalue set to 0?Signature · 1 line
Jeff Layton <[email protected]>