summaryrefslogtreecommitdiff
path: root/mm/prio_tree.c
diff options
context:
space:
mode:
authorMingming Cao <cmm@us.ibm.com>2009-01-13 15:43:09 (GMT)
committerJan Kara <jack@suse.cz>2009-03-26 01:15:50 (GMT)
commitf18df228997fb716990590d248663981a15f17d4 (patch)
treef5fc935b09cddde325235c265fd3a553ee40af51 /mm/prio_tree.c
parent8e0ee43bc2c3e19db56a4adaa9a9b04ce885cd84 (diff)
downloadlinux-fsl-qoriq-f18df228997fb716990590d248663981a15f17d4.tar.xz
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 <cmm@us.ibm.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'mm/prio_tree.c')
0 files changed, 0 insertions, 0 deletions