From owner-freebsd-current@FreeBSD.ORG Sun Sep 12 00:12:23 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14C511065673; Sun, 12 Sep 2010 00:12:23 +0000 (UTC) (envelope-from rfarmer@predatorlabs.net) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id B1FAD8FC08; Sun, 12 Sep 2010 00:12:22 +0000 (UTC) Received: by vws7 with SMTP id 7so4210452vws.13 for ; Sat, 11 Sep 2010 17:12:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.122.203 with SMTP id m11mr1300968vcr.118.1284250341205; Sat, 11 Sep 2010 17:12:21 -0700 (PDT) Received: by 10.220.200.8 with HTTP; Sat, 11 Sep 2010 17:12:21 -0700 (PDT) X-Originating-IP: [71.1.133.114] Date: Sat, 11 Sep 2010 17:12:21 -0700 Message-ID: From: Rob Farmer To: freebsd-current@freebsd.org, Pawel Jakub Dawidek Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: ZFS v28 and sendfile() X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Sep 2010 00:12:23 -0000 Seems to not work properly, at least as implemented in the nginx web server (specifically www/nginx-devel from ports). I have "sendfile on;" in my nginx.conf and files served from a ZFS filesystem are garbled in seemingly random ways (their md5 changes every time). Shutting it off resolves the problem. Using sendfile with a UFS partition on the same machine causes no problems. -- Rob Farmer