From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 25 15:24:03 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 66B38FC6 for ; Tue, 25 Dec 2012 15:24:03 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com [209.85.215.49]) by mx1.freebsd.org (Postfix) with ESMTP id C9DD88FC15 for ; Tue, 25 Dec 2012 15:24:02 +0000 (UTC) Received: by mail-la0-f49.google.com with SMTP id r15so9511134lag.22 for ; Tue, 25 Dec 2012 07:23:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ZDbvvS6JVUEXBhm/0h8gXb3SwOq82qu7T8chPAQfm4o=; b=IqMbHPxSEKpmyeb0tGYTmCKeM8ZP9J8dy5gz/5kHe/sfNhQ1GBuQ6FoinlGxA9HXvU wFfwct8NhZ545j+NYrs3kVzcNDsy1A62kry9YzZh6hwaV8TodzoNB4MLgiPRjQbHnuoc UapSSyrFx5nwY6pABibGEmwRAg1vZwpxiDFgs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=ZDbvvS6JVUEXBhm/0h8gXb3SwOq82qu7T8chPAQfm4o=; b=e95QekhQNu8X96RR58gw2RIR6eqllIp0WTnGmZXK7CLpDkGoTExnZhXv2KrfTdl5Yw qi0zTmPb9tEaaAHRQhQ92G6ArbuQ+z4vMZuAtTFgU4wWXi0BcpzrshuMklpaS4cB15/o AC9WI6BAUF1em2stnnNTcigd+GkcqSWnyrrbrQaVcuN+kDaGpZCGIkMtWN2Uq9sIxwFo OxnLSf0VGXXu0vwdALZLsUWhB0PRW2G6mpdBXRqvfxzzIzYVGK/x7nhgcQu5Lv0TOWoX HTTT5fAOE1L7GoKaAg93mxmb1mD4CPwaZNGB7NgYC5ARd7KJXzABKmiap2gX/6Y2AbGr rauA== Received: by 10.112.29.104 with SMTP id j8mr10045772lbh.0.1356449036254; Tue, 25 Dec 2012 07:23:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.162.100 with HTTP; Tue, 25 Dec 2012 07:23:26 -0800 (PST) In-Reply-To: <20121225150712.GA82219@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> From: Eitan Adler Date: Tue, 25 Dec 2012 10:23:26 -0500 Message-ID: Subject: Re: About QUOTA support in stock kernel (resent) To: Konstantin Belousov Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQka2Cl8PuqZueYxFH4ZQ4AYGf0Bev6zmvh6WWaTkyphJ8R2g3oRGJqUSvkp+gef8MFgnqQb Cc: Patrick Dung , 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:24:03 -0000 On 25 December 2012 10:07, Konstantin Belousov wrote: > Enabling quota by default would cause small overhead, like one mutex acquire, > for each inode and block alloc/dealloc, even for mount without quotas enabled. Why is this, and can it be avoided (for mounts without quotas)? > 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. -- Eitan Adler