commit | 32a38a4991043976fc2d8840a55ce5dde41fdbd0 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Oct 18 16:42:50 2019 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Mon Oct 21 08:51:59 2019 -0700 |
tree | aa722afa19ce30a6cf62a3f7814f2d0052f13391 | |
parent | d3b404396977fde1daca3fb4fd4d3b01a3749093 [diff] |
iomap: use write_begin to read pages to unshare Use the existing iomap write_begin code to read the pages unshared by iomap_file_unshare. That avoids the extra ->readpage call and extent tree lookup currently done by read_mapping_page. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>