lkml.org 
[lkml]   [2015]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Subject[RFC] A couple of questions about the paged I/O sub system
    From
    Date
    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



    \
     
     \ /
      Last update: 2015-10-21 09:01    [W:3.313 / U:0.164 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site