From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 25 15:07:17 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E59CDB5; Tue, 25 Dec 2012 15:07:17 +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 E79418FC15; Tue, 25 Dec 2012 15:07:16 +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 qBPF7CO2082709; Tue, 25 Dec 2012 17:07:12 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.7.3 kib.kiev.ua qBPF7CO2082709 Received: (from kostik@localhost) by tom.home (8.14.5/8.14.5/Submit) id qBPF7CTr082708; Tue, 25 Dec 2012 17:07:12 +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:07:12 +0200 From: Konstantin Belousov To: Patrick Dung Subject: Re: About QUOTA support in stock kernel (resent) Message-ID: <20121225150712.GA82219@kib.kiev.ua> References: <1356111338.1283.YahooMailClassic@web190806.mail.sg3.yahoo.com> <1356442470.26290.YahooMailClassic@web190804.mail.sg3.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CE+1k2dSO48ffgeK" Content-Disposition: inline In-Reply-To: <1356442470.26290.YahooMailClassic@web190804.mail.sg3.yahoo.com> 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: freebsd hackers , fs@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Dec 2012 15:07:17 -0000 --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 25, 2012 at 09:34:30PM +0800, Patrick Dung wrote: > Hi, >=20 > I would like to know why quota is not enabled in the stock kernel.. >=20 > I remembered that it is not enabled since freebsd 3.5 or freebsd 4 genera= tion. > Now in freebsd 9.0, it still neeed a kernel rebuild. >=20 > I have heard it has performance issue (GIANT lock) about quota. Enabling quota by default would cause small overhead, like one mutex acquir= e, for each inode and block alloc/dealloc, even for mount without quotas enabl= ed. Might be, it is reasonable to just enable it now. Unless somebody provide valid objections and I do not forget, I will do it in a week for HEAD. --CE+1k2dSO48ffgeK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJQ2cEfAAoJEJDCuSvBvK1BczoQAJn1t9gpjqh9fckBwd+wMHr9 TeaTYybuGhhY19nTkmodheyAJsRphKhXVw4zDKYTCkO21HE9HbAx4X+NyLaBB+IN mQNhaP7r//TmuCUR0JSi7Wzincrngm6bT4DjGNTxFi5QbsebB4M848LhBe1HJJBH Ojdt4yO8kMYhRLHqeAydlsnwarvSWfD+fVcaOKW/BmekXvz9osLHnkhd2AwxQsUM YLX+4dB7Gao3WcuUWIr5alGaE3Lo5Ehua8ndI+Fl5GWABpq2Q6V2GnFssvCZONo+ ya0l/Sc8iQTprFE3XK1+4+Iu7Pr9PqWhRxwMGOC4ewHjrZH7CVpriamawqfMbB3v VvaPPf0ICrwmA32hR2Wmvv6l+I+T+iXtMocdhkxYBqU202JIgSlbykNRyYg2ztJ8 DSjEijvzSrX4litK8IMHIzpl6PnQ6jmKtlRTEUTtxdaNxpWmdELN6/TqV0o9ekvU u8WuOfVclmIj9RNjwJYGaNcYh9nmEFvD4FOSU4Ac67knO0mi7lMtsL22vPN8F4vQ WGYw1d2u7AYmInPR8AJkvbc/Phv0ux8oECHWKCcSWsfAmBXyUjpIe/zXEQznKSl7 04xMt2/btNzyktqoe70j1HSZyc5xcQ/KjaEvjE2FFJzoe8OYiBFirZ2JqUh80U90 +5TDEVwdRF47jrAq27bY =AZmI -----END PGP SIGNATURE----- --CE+1k2dSO48ffgeK--