From owner-freebsd-fs@FreeBSD.ORG Mon Oct 6 07:40:04 2008 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E5581065686 for ; Mon, 6 Oct 2008 07:40:04 +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 388DE8FC17 for ; Mon, 6 Oct 2008 07:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m967e3c1015066 for ; Mon, 6 Oct 2008 07:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m967e3jt015065; Mon, 6 Oct 2008 07:40:03 GMT (envelope-from gnats) Date: Mon, 6 Oct 2008 07:40:03 GMT Message-Id: <200810060740.m967e3jt015065@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: Maxim Konovalov Cc: Subject: Re: kern/127213: [tmpfs] sendfile on tmpfs data corruption X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Maxim Konovalov List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 07:40:04 -0000 The following reply was made to PR kern/127213; it has been noted by GNATS. From: Maxim Konovalov To: Nate Eldredge Cc: bug-followup@freebsd.org Subject: Re: kern/127213: [tmpfs] sendfile on tmpfs data corruption Date: Mon, 6 Oct 2008 11:36:38 +0400 (MSD) Hello, On Mon, 6 Oct 2008, 06:40-0000, Nate Eldredge wrote: [...] > Incidentally, to the initial reporter, what application do you have > that requires sendfile? In my experience, most things will fall > back to a read/write loop if sendfile fails, since sendfile isn't > available on all systems or under all circumstances. So if you > apply the quick fix so that sendfile always fails, it might at > least get your application working again. > As stated in the PR Andrey used nginx (ports/www/nginx). But I could easily reproduce the bug with the stock ftpd(8) with the ftproot on tmpfs. -- Maxim Konovalov