From: Theodore Ts'o Date: Fri, 3 Apr 2009 05:34:35 +0000 (-0400) Subject: ext3: Add replace-on-truncate hueristics for data=writeback mode X-Git-Tag: v2.6.30-rc1~226^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7ab34ea723ed304b19698efca85d6f40cecd99b;p=pandora-kernel.git ext3: Add replace-on-truncate hueristics for data=writeback mode In data=writeback mode, start an asynchronous flush when closing a file which had been previously truncated down to zero. This lowers the probability of data loss in the case of applications that attempt to replace a file using truncate. Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed