Messages in this thread | | | Subject | [RFC] A couple of questions about the paged I/O sub system | From | Ian Kent <> | Date | Wed, 21 Oct 2015 14:39:58 +0800 |
| |
Hi all,
I've been looking through some of the page reclaim code and at truncate_inode_pages().
I'm not familiar with the code and I'm struggling to understand it.
One thing that is puzzling me right now is, if a file has pages that have been modified and are swapped out when pagevec_lookup_entries() is called will they be found?
If not then how does truncate_inode_pages(_range)() handle waiting for these pages to be swapped back in to perform the writeback and truncation?
Anyone, please? Ian
| |