|
|
Subscribe / Log in / New account

quota: RFC add extend quota type v2

From:  Dmitry Monakhov <dmonakhov@openvz.org>
To:  linux-fsdevel@vger.kernel.org
Subject:  [PATCH 0/4] quota: RFC add extend quota type v2
Date:  Tue, 16 Feb 2010 08:31:48 +0300
Cc:  jack@suse.cz, Dmitry Monakhov <dmonakhov@openvz.org>

Currently only USER/GROUP quota are supported bu linux quota
But sometimes it is reasonable to have other types of quota
For example:
1) project_id in XFS
2) container_id in container(chroot) solutions.
This patch series is aimed to extend quota interface to support
different quota types. Last patch add the SUBTREE quota type.
This patch series does not contain fs-related part of
subtree-quota-type support. This is because generic subtree
support is relatively independent from quota part.
And in fact patches depends on two different devel trees
linux-fs.2.6 and ext4.git. So i've divided big subtree patchset
in to generic fs-related and quota-related parts.

First tree patches performs necessary cleanup work, And
the last one extends quota to support new quota's type.

Changes from v1:
 - fixes suggested by Jan Kara
 - redesign get_id() callback. Initially i've overlooked a quota transfer
   case. We have to pass new id's array to get_id() and it will return
   corresponding quota id. 
 - fix hard-coded values in dquot_initialize()

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds