From owner-freebsd-fs@FreeBSD.ORG Tue Dec 25 15:29:14 2012 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 262861D9; Tue, 25 Dec 2012 15:29:14 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8039F8FC12; Tue, 25 Dec 2012 15:29:13 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.5/8.14.5) with ESMTP id qBPFT6oI084650; Tue, 25 Dec 2012 17:29:06 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.7.3 kib.kiev.ua qBPFT6oI084650 Received: (from kostik@localhost) by tom.home (8.14.5/8.14.5/Submit) id qBPFT67S084649; Tue, 25 Dec 2012 17:29:06 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 25 Dec 2012 17:29:06 +0200 From: Konstantin Belousov To: Eitan Adler Subject: Re: About QUOTA support in stock kernel (resent) Message-ID: <20121225152905.GB82219@kib.kiev.ua> References: <1356111338.1283.YahooMailClassic@web190806.mail.sg3.yahoo.com> <1356442470.26290.YahooMailClassic@web190804.mail.sg3.yahoo.com> <20121225150712.GA82219@kib.kiev.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XF85m9dhOBO43t/C" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: Patrick Dung , freebsd hackers , fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Dec 2012 15:29:14 -0000 --XF85m9dhOBO43t/C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 25, 2012 at 10:23:26AM -0500, Eitan Adler wrote: > On 25 December 2012 10:07, Konstantin Belousov wrot= e: > > Enabling quota by default would cause small overhead, like one mutex ac= quire, > > for each inode and block alloc/dealloc, even for mount without quotas e= nabled. >=20 > Why is this, and can it be avoided (for mounts without quotas)? Because system should check whether quota is enabled to do the accounting. >=20 > > Might be, it is reasonable to just enable it now. Unless somebody provi= de > > valid objections and I do not forget, I will do it in a week for HEAD. >=20 >=20 >=20 > --=20 > Eitan Adler --XF85m9dhOBO43t/C Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJQ2cY/AAoJEJDCuSvBvK1BfzEP/3ze3Wcu1n28ZIeCaXCEeDXk qnJmZXLuw4y57CZJ2+mASDGTCUkp91iJcCtPAP+UyN91LIqAGgQVkI71L70dCZ3c OO+eAxgCYOCB4OqvjwDhI4cXuTyarf2blIjov0qxjwh9vqp9Zy7hL2FtPttpxmPr FOukKMZ9wMzM3MmPoASULdAgu4jZQQHV7Hhw9H6pujRxgXGPOHHbDoIkT0WHbq8K q6nR9OUjPKHx2hm4/mLQTGTlUqyF8V883IWI7zOoiO2G9S7rpOT7FdTBb7CljLub EUUMKGf9RcheduIew60ZafSXUwbRvD1AHIktlm1xTuXG4ZSyyRluyYN+QmUoQ16Q yh/BA0LzxwrKo3wx9cFUVw5FCHjPRTIKUv91InnxX7TQeRGAxkjNi35LtjzE6nS8 p90NS6v9OCEWNHc++Ece/FhCI5mK80bwzXtsULioLAeBDEzc0d/5vMtntx4wE4pg IYsGHjq0ZJjWjlr4eCf3CUUsAIqkE0dV43SEevV2UTHmXe+VD+v4serfn89AddYP oSb3JyJAJ2eoi81TEH1y6WWEnIBKquT+LvaKOVbBPP/JOSIPRzYOvqwTl9IHC5Vb hTkcXR1JxtZRoPpgvgSlo0F3slLbVnobNex9QWLceI8JSMXexrPJxJgJqT76lxSh VklzlLPHVKpCVEgbP29Y =+ine -----END PGP SIGNATURE----- --XF85m9dhOBO43t/C--