From: Andrey Savochkin Date: Thu, 7 Dec 2006 04:37:36 +0000 (-0800) Subject: [PATCH] retries in ext4_prepare_write() violate ordering requirements X-Git-Tag: v2.6.20-rc1~145^2^2~153 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b46be05004abb419e303e66e143eed9f8a6e9f3f;p=pandora-kernel.git [PATCH] retries in ext4_prepare_write() violate ordering requirements In journal=ordered or journal=data mode retry in ext4_prepare_write() breaks the requirements of journaling of data with respect to metadata. The fix is to call commit_write to commit allocated zero blocks before retry. Signed-off-by: Kirill Korotaev Cc: Ingo Molnar Cc: Ken Chen Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed