From owner-svn-src-head@FreeBSD.ORG Tue Nov 8 10:39:30 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F2D6106566B; Tue, 8 Nov 2011 10:39:30 +0000 (UTC) (envelope-from gprspb@mail.ru) Received: from fallback5.mail.ru (fallback5.mail.ru [94.100.176.59]) by mx1.freebsd.org (Postfix) with ESMTP id 9AEE58FC12; Tue, 8 Nov 2011 10:39:29 +0000 (UTC) Received: from smtp27.mail.ru (smtp27.mail.ru [94.100.176.180]) by fallback5.mail.ru (mPOP.Fallback_MX) with ESMTP id 988C47798D36; Tue, 8 Nov 2011 14:26:47 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=6lYXp5we1VDODw3/hu2UbI+0feJoI46LuixSEKaPwaE=; b=3fr/MDBVaXu9R4wM1nlJB9P2afS7hcTRO2c9YklvAKjKNFGtQf/y8MZPL052UPXoJLq11vjkuvwYFNyV0eTJt3kWOkfOEahoJA4hmokWRQppn3mgymjd1kxBFsiCRSlL; Received: from [93.185.182.46] (port=31118 helo=gpr.nnz-home.ru) by smtp27.mail.ru with asmtp id 1RNitB-00011k-00; Tue, 08 Nov 2011 14:26:45 +0400 Received: from gpr by gpr.nnz-home.ru with local (Exim 4.77 (FreeBSD)) (envelope-from ) id 1RNisp-000FoX-Tq; Tue, 08 Nov 2011 14:26:23 +0400 Date: Tue, 8 Nov 2011 14:26:23 +0400 From: Gennady Proskurin To: Marcel Moolenaar Message-ID: <20111108102623.GA60772@gpr.nnz-home.ru> References: <201111071621.pA7GLob4087040@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201111071621.pA7GLob4087040@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam: Not detected X-Mras: Ok X-Mras: Ok Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r227310 - head/sys/fs/tmpfs X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2011 10:39:30 -0000 TMPFS is not usable without swap, it should have better algorithms to adjust it's size, depending on amount of memory/swap available. # swapoff -a # swapinfo Device 1K-blocks Used Avail Capacity # top Mem: 253M Active, 282M Inact, 933M Wired, 3972K Cache, 135M Buf, 491M Free Swap: # df -h /tmp Filesystem Size Used Avail Capacity Mounted on tmpfs 436k 436k 0B 100% /tmp no free space on /tmp # uname -a FreeBSD gpr.drweb.com 9.0-BETA2 FreeBSD 9.0-BETA2 #0 r225446M: Thu Sep 8 17:30:46 MSK 2011 gpr@gpr.drweb.com:/usr/obj/usr/src/freebsd-head/sys/DRW_A amd64 On Mon, Nov 07, 2011 at 04:21:50PM +0000, 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. > > Modified: > head/sys/fs/tmpfs/tmpfs_vfsops.c > > Modified: head/sys/fs/tmpfs/tmpfs_vfsops.c > ============================================================================== > --- head/sys/fs/tmpfs/tmpfs_vfsops.c Mon Nov 7 15:43:11 2011 (r227309) > +++ head/sys/fs/tmpfs/tmpfs_vfsops.c Mon Nov 7 16:21:50 2011 (r227310) > @@ -156,9 +156,6 @@ tmpfs_mount(struct mount *mp) > return EOPNOTSUPP; > } > > - printf("WARNING: TMPFS is considered to be a highly experimental " > - "feature in FreeBSD.\n"); > - > vn_lock(mp->mnt_vnodecovered, LK_SHARED | LK_RETRY); > error = VOP_GETATTR(mp->mnt_vnodecovered, &va, mp->mnt_cred); > VOP_UNLOCK(mp->mnt_vnodecovered, 0); > _______________________________________________ > svn-src-head@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/svn-src-head > To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org" >