ext4: quota reservation for delayed allocation
authorMingming Cao <cmm@us.ibm.com>
Thu, 22 Jan 2009 17:13:05 +0000 (18:13 +0100)
committerJan Kara <jack@suse.cz>
Thu, 26 Mar 2009 01:18:34 +0000 (02:18 +0100)
Uses quota reservation/claim/release to handle quota properly for delayed
allocation in the three steps: 1) quotas are reserved when data being copied
to cache when block allocation is defered 2) when new blocks are allocated.
reserved quotas are converted to the real allocated quota, 2) over-booked
quotas for metadata blocks are released back.

Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Acked-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Jan Kara <jack@suse.cz>

No differences found