From: Aneesh Kumar K.V Date: Tue, 9 Sep 2008 03:05:34 +0000 (-0400) Subject: ext4: Retry block allocation if we have free blocks left X-Git-Tag: v2.6.28-rc1~709^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df22291ff0fde0d350cf15dac3e5cc33ac528875;p=pandora-kernel.git ext4: Retry block allocation if we have free blocks left When we truncate files, the meta-data blocks released are not reused untill we commit the truncate transaction. That means delayed get_block request will return ENOSPC even if we have free blocks left. Force a journal commit and retry block allocation if we get ENOSPC with free blocks left. Signed-off-by: Aneesh Kumar K.V Signed-off-by: Mingming Cao Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed