]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: iterate over extents in xfs_bmap_extents_to_btree
authorChristoph Hellwig <hch@lst.de>
Fri, 17 Nov 2017 04:11:34 +0000 (22:11 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 17 Nov 2017 04:11:34 +0000 (22:11 -0600)
commit62ed733883db194245e78f6eaf4a1d59835a75a4
treebecf5f0ccaac4c11c700aba2fb4d749da03b1329
parentf11e75010b61b5640f3bd65d01e71e945b479386
xfs: iterate over extents in xfs_bmap_extents_to_btree

Source kernel commit: 906abed501bf5a2103946deb7a4a40b31c56f027

This actually makes the function very slightly less efficient for now as we
detour through the expanded irect format between the in-core extent format
and the on-disk one instead of just endian swapping them.  But with the
incore extent btree the in-core one will use a different format and the
representation will be entirely hidden.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_bmap.c