lkml.org 
[lkml]   [2018]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v8 06/63] btrfs: Use filemap_range_has_page()
    On Tue, Mar 06, 2018 at 11:23:16AM -0800, Matthew Wilcox wrote:
    > From: Matthew Wilcox <mawilcox@microsoft.com>
    >
    > The current implementation of btrfs_page_exists_in_range() gives the
    > wrong answer if the workingset code has stored a shadow entry in the
    > page cache. The filemap_range_has_page() function does not have this
    > problem, and it's shared code, so use it instead.

    I'm going to merge this patch. btrfs_page_exists_in_range was full of
    bugs from the beginning so I'm more than happy to use the shared one.
    Thanks.

    \
     
     \ /
      Last update: 2018-03-07 15:20    [W:4.142 / U:0.092 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site