• Dave Chinner's avatar
    xfs: Don't flush stale inodes · 44e08c45
    Dave Chinner authored
    Because inodes remain in cache much longer than inode buffers do
    under memory pressure, we can get the situation where we have
    stale, dirty inodes being reclaimed but the backing storage has
    been freed.  Hence we should never, ever flush XFS_ISTALE inodes
    to disk as there is no guarantee that the backing buffer is in
    cache and still marked stale when the flush occurs.
    Signed-off-by: default avatarDave Chinner <david@fromorbit.com>
    Signed-off-by: default avatarAlex Elder <aelder@sgi.com>
    44e08c45
xfs_inode.c 124 KB