From: Mingming Cao Date: Tue, 13 Jan 2009 15:43:09 +0000 (+0100) Subject: quota: Add quota reservation support X-Git-Tag: v2.6.30-rc1~648^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f18df228997fb716990590d248663981a15f17d4;p=pandora-kernel.git quota: Add quota reservation support Delayed allocation defers the block allocation at the dirty pages flush-out time, doing quota charge/check at that time is too late. But we can't charge the quota blocks until blocks are really allocated, otherwise users could get overcharged after reboot from system crash. This patch adds quota reservation for delayed allocation. Quota blocks are reserved in memory, inode and quota won't gets dirtied until later block allocation time. Signed-off-by: Mingming Cao Signed-off-by: Jan Kara --- Reading git-diff-tree failed