From: David Chinner Date: Sat, 10 Feb 2007 07:36:17 +0000 (+1100) Subject: [XFS] Fix block reservation mechanism. X-Git-Tag: v2.6.21-rc1~274^2~227^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbcabad19aa91dc9bc7176fd2853fa74f724cd2f;p=pandora-kernel.git [XFS] Fix block reservation mechanism. The block reservation mechanism has been broken since the per-cpu superblock counters were introduced. Make the block reservation code work with the per-cpu counters by syncing the counters, snapshotting the amount of available space and then doing a modifcation of the counter state according to the result. Continue in a loop until we either have no space available or we reserve some space. SGI-PV: 956323 SGI-Modid: xfs-linux-melb:xfs-kern:27895a Signed-off-by: David Chinner Signed-off-by: Christoph Hellwig Signed-off-by: Tim Shimmin --- Reading git-diff-tree failed