kern/164445: [libc] lseek(2) always returns ENXIO with
SEEK_DATA/SEEK_HOLE on 9.0 64bit ZFS
Andriy Gapon
avg at FreeBSD.org
Wed Mar 7 21:00:30 UTC 2012
The following reply was made to PR kern/164445; it has been noted by GNATS.
From: Andriy Gapon <avg at FreeBSD.org>
To: bug-followup at FreeBSD.org, lge at ieee.org
Cc: Pawel Jakub Dawidek <pjd at FreeBSD.org>
Subject: Re: kern/164445: [libc] lseek(2) always returns ENXIO with SEEK_DATA/SEEK_HOLE
on 9.0 64bit ZFS
Date: Wed, 07 Mar 2012 22:54:48 +0200
I think that you hit the nail on the head.
On FreeBSD the ioctl(2) system call does copyin/copyout of the data argument and
thus those extra copyin/copuout calls in zfs_ioctl are harmful.
--
Andriy Gapon
More information about the freebsd-bugs
mailing list