Skip to content

RFC quota scalability V1

Dmitry linux-fsdevel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 11 patches 4 repliesIn review

Patches in v1 No applies recorded yet

None of the 11 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/11] RFC quota scalability V1

On Tue, 5 Oct 2010 22:20:16 +0400, Dmitry Monakhov <[email protected]> wrote:
Sorry, seems like my script screw-up subject header.

Quoted 35 lines

This patch set is my first attempt to make quota code scalable. Main goal of this patch-set is to split global locking to per-sb basis. Please review it and provide your opinion.

Future plans:
* More scalability for single super_block
** Remove dqptr_sem
** Redesing dquot ref accounting interface.
** Make fast path for charge function lockless

quota: add wrapper function
quota: Convert dq_state_lock to per-sb dq_state_lock
quota: add quota format lock
quota: make dquot lists per-sb
quota: make per-sb hash array
quota: remove global dq_list_lock
quota: rename dq_lock
quota: make per-sb dq_data_lock
quota: protect dquot mem info with objects's lock
quota: drop dq_data_lock where possible
quota: relax dq_data_lock dq_lock locking consistency

 fs/ext3/super.c          |    2 
 fs/ext4/super.c          |    2 
 fs/ocfs2/quota_global.c  |   42 ++--
 fs/ocfs2/quota_local.c   |   17 +
 fs/quota/dquot.c         |  473 +++++++++++++++++++++++++++--------------------
 fs/quota/quota_tree.c    |   12 -
 fs/quota/quota_v1.c      |    8 
 fs/quota/quota_v2.c      |    4 
 fs/super.c               |    5 
 include/linux/quota.h    |   20 +
 include/linux/quotaops.h |    4 
 11 files changed, 355 insertions(+), 234 deletions(-)