From owner-freebsd-fs@FreeBSD.ORG Tue Dec 25 15:23:58 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 4B33CFC5 for ; Tue, 25 Dec 2012 15:23:58 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52]) by mx1.freebsd.org (Postfix) with ESMTP id B26348FC14 for ; Tue, 25 Dec 2012 15:23:57 +0000 (UTC) Received: by mail-la0-f52.google.com with SMTP id l5so9538060lah.25 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=ETlH7KuEZsEXbnajyGR4osVUda4k/RmcyGdHbPpB3LQbfEpCQrIKnHGCNhPI8dH6kh +ftAaWXikQBaadY7ex+QUCNCQ6niOdGe1M4i3zMGO/cgRF3rikO22++owqUkXwuV6M9O sDzPFZdmSsBTPDtSlDFpzeMy7jmQWB8Q0UvbqpbGCUPDyUZxJuAHnJ6qpSvLGjfUEU+e f/qPNZesLLGzPQKcLahEoZUwf4fC6F3IK+cc7b6bjVTSdW506jj+cQX4eQ0lEEjv/FeL dzPcVUDELJrVylWIPg/Zu45t0R0Nh6z+Tpy6ZE0D6aIK9qow/vPd8LCo7u3Sg6naWVgG 1fuw== 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: ALoCoQmkJP0nPPbCgR8LGU5UEdRnH/pkCObQnDYBh3xbUqm0Vza7ejs1qe6jN1r9poVh7aZJYIiV 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:23:58 -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