aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-10-18 16:42:50 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-10-21 08:51:59 -0700
commit32a38a4991043976fc2d8840a55ce5dde41fdbd0 (patch)
treeaa722afa19ce30a6cf62a3f7814f2d0052f13391 /lib/test_overflow.c
parentiomap: move the zeroing case out of iomap_read_page_sync (diff)
downloadwireguard-linux-32a38a4991043976fc2d8840a55ce5dde41fdbd0.tar.xz
wireguard-linux-32a38a4991043976fc2d8840a55ce5dde41fdbd0.zip
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>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions