From owner-svn-src-all@FreeBSD.ORG Tue Nov 8 10:52:46 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91E0A1065672; Tue, 8 Nov 2011 10:52:46 +0000 (UTC) (envelope-from gleb.kurtsou@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 89F5D8FC15; Tue, 8 Nov 2011 10:52:45 +0000 (UTC) Received: by faar19 with SMTP id r19so523229faa.13 for ; Tue, 08 Nov 2011 02:52:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=/YWCDJMBloc+w/DPR4PAyZMlDM30vrsRWMw0zVbbc9o=; b=x/d1LgZ0xEgBj+f+mkrhbTfhb9/HiKfyBd+EDW1b9dhIFUj7NHAXokNoBRLQcPgXsc L7BIruFmFVdrevoRetd+8zkCG2aIJDk7wLp8pKLKmGEsURSHuFzfd0mKKKdvL7GNVWM6 a3VrXjURnP8Ozo2JjCfBgaq6MJvMzkg6QAn9A= Received: by 10.223.6.129 with SMTP id 1mr43097015faz.17.1320747758064; Tue, 08 Nov 2011 02:22:38 -0800 (PST) Received: from localhost ([91.187.1.43]) by mx.google.com with ESMTPS id t7sm769352fae.6.2011.11.08.02.22.35 (version=SSLv3 cipher=OTHER); Tue, 08 Nov 2011 02:22:36 -0800 (PST) Date: Tue, 8 Nov 2011 12:21:55 +0200 From: Gleb Kurtsou To: Xin LI Message-ID: <20111108102155.GA1657@reks.ENIGMA> References: <201111071621.pA7GLob4087040@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Marcel Moolenaar , src-committers@freebsd.org Subject: Re: svn commit: r227310 - head/sys/fs/tmpfs X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2011 10:52:46 -0000 On (07/11/2011 12:01), Xin LI wrote: > On Mon, Nov 7, 2011 at 8:21 AM, Marcel Moolenaar wrote: > > Author: marcel > > Date: Mon Nov  7 16:21:50 2011 > > New Revision: 227310 > > URL: http://svn.freebsd.org/changeset/base/227310 > > > > Log: > >  Don astbestos garment and remove the warning about TMPFS being experimental > >  -- highly experimental even. So far the closest to a bug in TMPFS that people > >  have gotten to relates to how ZFS can take away from the memory that TMPFS > >  needs. One can argue that such is not a bug in TMPFS. Irrespective, even if > >  there is a bug here and there in TMPFS, it's not in our own advantage to > >  scare people away from using TMPFS. I for one have been using it, even with > >  ZFS, very successfully. > > Was the data corruption issue when mixing mmap/sendfile/read/writes > fixed already? I haven't used tmpfs in such complicated environment > in my use (which works well) but I remember some complains about it... Sendfile was fixed quite a while ago. Regarding ZFS+TMPFS, there is a patch floating around changing TMPFS assumptions on free memory. I'm thinking about making it optional, preserving old behaviour if file system size wasn't specified during mount. I'll commit the following fix shortly: https://github.com/glk/freebsd-head/commit/15186db A bug on removing parent directory while holding reference to current one was mentioned at DevSummit. I wasn't able to reproduce it on CURRENT. I might have fixed it already while correcting similar locking issue. And it would be nice to have patch by kib@ removing double caching in head. > > Cheers, > -- > Xin LI https://www.delphij.net/ > FreeBSD - The Power to Serve! Live free or die