From: Aneesh Kumar K.V Date: Tue, 16 Mar 2010 00:25:59 +0000 (-0400) Subject: ext4: Retry block reservation X-Git-Tag: v2.6.27.47~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8afab7e6fc2a9cedba2d0d3663046c140ef6d60b;p=pandora-kernel.git ext4: Retry block reservation commit 030ba6bc67b4f2bc5cd174f57785a1745c929abe upstream. During block reservation if we don't have enough blocks left, retry block reservation with smaller block counts. This makes sure we try fallocate and DIO with smaller request size and don't fail early. The delayed allocation reservation cannot try with smaller block count. So retry block reservation to handle temporary disk full conditions. Also print free blocks details if we fail block allocation during writepages. Signed-off-by: Aneesh Kumar K.V Signed-off-by: Mingming Cao Signed-off-by: "Theodore Ts'o" Signed-off-by: Jayson R. King Signed-off-by: Theodore Ts'o Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed