From owner-freebsd-stable@FreeBSD.ORG  Tue Sep 30 02:01:02 2014
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
Delivered-To: freebsd-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id D69603D4
 for <freebsd-stable@freebsd.org>; Tue, 30 Sep 2014 02:01:02 +0000 (UTC)
Received: from mail.akips.com (mail.akips.com [65.19.130.19])
 by mx1.freebsd.org (Postfix) with ESMTP id C49A23FE
 for <freebsd-stable@freebsd.org>; Tue, 30 Sep 2014 02:01:02 +0000 (UTC)
Received: from akips.com (CPE-120-146-191-2.static.qld.bigpond.net.au
 [120.146.191.2]) by mail.akips.com (Postfix) with ESMTPSA id 8804721
 for <freebsd-stable@freebsd.org>; Tue, 30 Sep 2014 11:54:28 +1000 (EST)
Date: Tue, 30 Sep 2014 11:54:07 +1000
From: Paul Koch <paul.koch@akips.com>
To: freebsd-stable@freebsd.org
Subject: 10.1 mmap MAP_NOSYNC regression due to fast path
Message-ID: <20140930115407.01ce9776@akips.com>
Organization: AKIPS
X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; amd64-portbld-freebsd10.0)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY,
 URIBL_BLOCKED autolearn=disabled version=3.4.0
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on host1.akips.com
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/>
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Sep 2014 02:01:02 -0000

Hi, just wondering if the regression introduced by the changes for
'fast path' to the mmap MAP_NOSYNC behaviour will be fixed for 10.1 ?

http://lists.freebsd.org/pipermail/freebsd-hackers/2014-September/045981.html

We have been doing some testing with 10.1-BETA3 and the regression makes
10.1 completely unusable because we rely very heavily on this long standing
feature of mmap.  Our database design mmaps large files (eg. several gigabytes)
and we manually control when the sync happens by using fsync() at appropriate
times.

	Paul.

-- 
Paul Koch | Founder, CEO
AKIPS Network Monitor
http://www.akips.com
Brisbane, Australia