From owner-freebsd-bugs@FreeBSD.ORG Wed Mar 7 21:00:30 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B8DD106566C for ; Wed, 7 Mar 2012 21:00:30 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 526B58FC0C for ; Wed, 7 Mar 2012 21:00:30 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q27L0U8v001407 for ; Wed, 7 Mar 2012 21:00:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q27L0UIu001404; Wed, 7 Mar 2012 21:00:30 GMT (envelope-from gnats) Date: Wed, 7 Mar 2012 21:00:30 GMT Message-Id: <201203072100.q27L0UIu001404@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Andriy Gapon Cc: Subject: Re: kern/164445: [libc] lseek(2) always returns ENXIO with SEEK_DATA/SEEK_HOLE on 9.0 64bit ZFS X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andriy Gapon List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2012 21:00:30 -0000 The following reply was made to PR kern/164445; it has been noted by GNATS. From: Andriy Gapon To: bug-followup@FreeBSD.org, lge@ieee.org Cc: Pawel Jakub Dawidek 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