aboutsummaryrefslogtreecommitdiff
path: root/release/tools
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2017-11-21 18:01:43 +0000
committerAndriy Gapon <avg@FreeBSD.org>2017-11-21 18:01:43 +0000
commitbf71fe61af655c34ade3f8ef731498109b1951bd (patch)
treeaf86c0967e0df5ee9b868bc69ba0727e5e66691b /release/tools
parenta3dff126f9520df0a1365b2490924e24987bec43 (diff)
downloadsrc-bf71fe61af655c34ade3f8ef731498109b1951bd.tar.gz
src-bf71fe61af655c34ade3f8ef731498109b1951bd.zip
make illumos uiocopy use vn_io_fault_uiomove
uiocopy() is currently unused, its purpose is copy data from a uio without modifying the uio. It was in use before the vn_io_fault support was added to ZFS, at which point our code diverged from the illumos code a little bit. Because ZFS is the only (potential) user of the function we are free to modify it to better suit ZFS needs. The intention behind this change is to remove the differences introduced earlier in zfs_write(). While here, re-implement uioskip() using uiomove() with uio_segflg == UIO_NOCOPY. The story of uioskip is the same as with uiocopy. Reviewed by: mav MFC after: 1 week
Notes
Notes: svn path=/head/; revision=326067
Diffstat (limited to 'release/tools')
0 files changed, 0 insertions, 0 deletions