On Wed, 6 Oct 2010 04:57:44 -0400, Christoph Hellwig <hch@xxxxxx> wrote: > On Tue, Oct 05, 2010 at 10:20:20PM +0400, Dmitry Monakhov wrote: > > Currently quota lists are global which is very bad for scalability. > > * inuse_lists -> sb->s_dquot->dq_inuse_list > > * free_lists -> sb->s_dquot->dq_free_lists > > * Add per sb lock for quota's lists protection > > > > Do not remove dq_lists_lock is used now only for protecting quota_hash > > I'm not a big fan of adding tons of new fields to the generic superblock > for a handfull filesystems actually using it. Can you look into > introducing a quota_sb structure that the few filesystems that use > it can embedd into their superblock? Yep, seems reasonable. Will handle that in next version. > > -- > To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html