]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
xfs: iterate over extents in xfs_bmap_extents_to_btree
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Nov 2017 17:34:43 +0000 (10:34 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 6 Nov 2017 19:53:40 +0000 (11:53 -0800)
commit906abed501bf5a2103946deb7a4a40b31c56f027
tree46204b46732ec5dfe21528e723c3482da1cbdb4d
parent71565f4b92048321ba3078877dd1a1149a23550d
xfs: iterate over extents in xfs_bmap_extents_to_btree

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>
fs/xfs/libxfs/xfs_bmap.c