• Chris Mason's avatar
    Force page->private removal in btrfs_invalidatepage · 9ad6b7bc
    Chris Mason authored
    btrfs_invalidatepage is not allowed to leave pages around on the lru.
    Any such pages will trigger an oops later on because the VM will see
    page->private and assume it is a buffer head.
    
    This also forces extra flushes of the async work queues before
    dropping all the pages on the btree inode during unmount.  Left over
    items on the work queues are one possible cause of busy state ranges
    during truncate_inode_pages.
    Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
    9ad6b7bc
disk-io.c 44.6 KB