[PATCH 10/12] container quota: bill container inodes alloc/free on ext4.

Ted Ts'o tytso at mit.edu
Wed May 30 15:55:43 UTC 2012


On Wed, May 30, 2012 at 10:59:04PM +0800, jeff.liu at oracle.com wrote:
>  	dquot_free_inode(inode);
> +	ns_dquot_free_inode(inode);

It looks like you are adding ns_dquot_<foo>() with exactly the same
arguments after dquot_<foo>() calls, for various values of <foo>.

Instead of needing to change all of the file systems, would it be
possible simply to change the quota layer to call the ns_dquot_*
functions?  It might make your life simpler, and it would certainly
reduce the number of filesystem maintainers that would need to look
through and review your changes.  You'd just have to work with Jan
Kara as the quota system maintainer.

Regards,

						- Ted


More information about the Containers mailing list