commit | f65306ea5246ef3ff68a6abf85f5a73a04903366 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Oct 03 09:11:27 2016 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Tue Oct 04 11:05:44 2016 -0700 |
tree | 2c2f8ae61ce162c8c79cd5b8ea86266331ec83a6 | |
parent | 77d61fe45e720577a2cc0e9580fbc57d8faa7232 [diff] |
xfs: map an inode's offset to an exact physical block Teach the bmap routine to know how to map a range of file blocks to a specific range of physical blocks, instead of simply allocating fresh blocks. This enables reflink to map a file to blocks that are already in use. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>