• Sage Weil's avatar
    ceph: fix page invalidation deadlock · 11ea8eda
    Sage Weil authored
    We occasionally want to make a best-effort attempt to invalidate cache
    pages without fear of blocking.  If this fails, we fall back to an async
    invalidate in another thread.
    
    Use invalidate_mapping_pages instead of invalidate_inode_page2, as that
    will skip locked pages, and not deadlock.
    Signed-off-by: default avatarSage Weil <sage@newdream.net>
    11ea8eda
caps.c 77.3 KB