From: Eric Sandeen Date: Tue, 13 Oct 2009 02:34:27 +0000 (-0500) Subject: ext3: retry failed direct IO allocations X-Git-Tag: v2.6.32-rc7~38^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea0174a7137c8ca9f130ca681f3a99c872da6778;p=pandora-kernel.git ext3: retry failed direct IO allocations On a 256M 4k block filesystem, doing this in a loop: dd if=/dev/zero of=test oflag=direct bs=1M count=64 rm -f test eventually leads to spurious ENOSPC: dd: writing `test': No space left on device As with other block allocation callers, it looks like we need to potentially retry the allocations on the initial ENOSPC. A similar patch went into ext4 (commit fbbf69456619de5d251cb9f1df609069178c62d5) Signed-off-by: Eric Sandeen Signed-off-by: Jan Kara --- Reading git-diff-tree failed