Re: About QUOTA support in stock kernel (resent)

2012-12-25 Thread Patrick Dung
: From: Konstantin Belousov Subject: Re: About QUOTA support in stock kernel (resent) To: "Eitan Adler" Cc: "Patrick Dung" , "freebsd hackers" , f...@freebsd.org Date: Tuesday, December 25, 2012, 11:29 PM On Tue, Dec 25, 2012 at 10:23:26AM -0500, Eitan Adler wrot

Re: About QUOTA support in stock kernel (resent)

2012-12-25 Thread Konstantin Belousov
On Tue, Dec 25, 2012 at 10:23:26AM -0500, Eitan Adler wrote: > 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. > > W

Re: About QUOTA support in stock kernel (resent)

2012-12-25 Thread Eitan Adler
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

Re: About QUOTA support in stock kernel (resent)

2012-12-25 Thread Konstantin Belousov
On Tue, Dec 25, 2012 at 09:34:30PM +0800, Patrick Dung wrote: > Hi, > > I would like to know why quota is not enabled in the stock kernel.. > > I remembered that it is not enabled since freebsd 3.5 or freebsd 4 generation. > Now in freebsd 9.0, it still neeed a kernel rebuild. > > I have heard i

Re: About QUOTA support in stock kernel (resent)

2012-12-25 Thread Patrick Dung
Hi, I would like to know why quota is not enabled in the stock kernel.. I remembered that it is not enabled since freebsd 3.5 or freebsd 4 generation. Now in freebsd 9.0, it still neeed a kernel rebuild. I have heard it has performance issue (GIANT lock) about quota. Regards, Patrick --- On