aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap_item.c
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/xfs/xfs_bmap_item.c
parentxfs: push buffer of flush locked dquot to avoid quotacheck deadlock (diff)
downloadlinux-dev-d205a7d0ec47d11977882b5e910ad35f7be912b4.tar.xz
linux-dev-d205a7d0ec47d11977882b5e910ad35f7be912b4.zip
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/xfs_bmap_item.c')
0 files changed, 0 insertions, 0 deletions