From: Tao Ma Date: Thu, 3 Dec 2009 13:55:05 +0000 (+0800) Subject: ocfs2: Handle O_DIRECT when writing to a refcounted cluster. X-Git-Tag: v2.6.33-rc3~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86470e98cc52532006f47a6cb96d3ebe1ba7ad97;p=pandora-kernel.git ocfs2: Handle O_DIRECT when writing to a refcounted cluster. In case of writing to a refcounted cluster with O_DIRECT, we need to fall back to buffer write. And when it is finished, we need to flush the page and the journal as we did for other O_DIRECT writes. This patch fix oss bug 1191. http://oss.oracle.com/bugzilla/show_bug.cgi?id=1191 Signed-off-by: Tao Ma Tested-by: Tristan Ye Signed-off-by: Joel Becker --- Reading git-diff-tree failed