summaryrefslogtreecommitdiff
path: root/fs/ufs
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2017-06-14 21:23:05 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2017-06-19 08:59:10 -0700
commitd205a7d0ec47d11977882b5e910ad35f7be912b4 (patch)
tree5550ec1613229ac37cafe13adfb06e7e98631ba5 /fs/ufs
parent7912e7fef2aebe577f0b46d3cba261f2783c5695 (diff)
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/ufs')
0 files changed, 0 insertions, 0 deletions