summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2017-06-15 07:23:05 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2017-06-19 18:59:10 +0300
commitd205a7d0ec47d11977882b5e910ad35f7be912b4 (patch)
tree5550ec1613229ac37cafe13adfb06e7e98631ba5 /fs/xfs/libxfs
parent7912e7fef2aebe577f0b46d3cba261f2783c5695 (diff)
downloadlinux-d205a7d0ec47d11977882b5e910ad35f7be912b4.tar.xz
xfs: refactor dir2 leaf readahead shadow buffer cleverness
Currently, the dir2 leaf block getdents function uses a complex state tracking mechanism to create a shadow copy of the block mappings and then uses the shadow copy to schedule readahead. Since the read and readahead functions are perfectly capable of reading the mappings themselves, we can tear all that out in favor of a simpler function that simply keeps pushing the readahead window further out. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs')
0 files changed, 0 insertions, 0 deletions