summaryrefslogtreecommitdiff
path: root/mm/cma_debug.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2016-05-18 14:09:13 +1000
committerDave Chinner <david@fromorbit.com>2016-05-18 14:09:13 +1000
commit5a90e53e8124d3ebe4b2a6309fa3c3225c23a62a (patch)
tree8f7e49a8ade7b8837c8625f765ef2aaaa450a48e /mm/cma_debug.c
parent8a17d7ddedb4d9031f046ae0e97c40b46aa69db5 (diff)
xfs: xfs_iflush_cluster has range issues
xfs_iflush_cluster() does a gang lookup on the radix tree, meaning it can find inodes beyond the current cluster if there is sparse cache population. gang lookups return results in ascending index order, so stop trying to cluster inodes once the first inode outside the cluster mask is detected. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'mm/cma_debug.c')
0 files changed, 0 insertions, 0 deletions