Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2011 12:21:55 +0200
From:      Gleb Kurtsou <gleb.kurtsou@gmail.com>
To:        Xin LI <delphij@gmail.com>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, Marcel Moolenaar <marcel@freebsd.org>, src-committers@freebsd.org
Subject:   Re: svn commit: r227310 - head/sys/fs/tmpfs
Message-ID:  <20111108102155.GA1657@reks.ENIGMA>
In-Reply-To: <CAGMYy3uNx79tybkr7n8OFDEF44hiEm8p74vaJ8APJHL-sLkEuA@mail.gmail.com>
References:  <201111071621.pA7GLob4087040@svn.freebsd.org> <CAGMYy3uNx79tybkr7n8OFDEF44hiEm8p74vaJ8APJHL-sLkEuA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On (07/11/2011 12:01), Xin LI wrote:
> On Mon, Nov 7, 2011 at 8:21 AM, Marcel Moolenaar <marcel@freebsd.org> 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 <delphij@delphij.net> https://www.delphij.net/
> FreeBSD - The Power to Serve! Live free or die



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111108102155.GA1657>