diff options
author | Tao Ma <tao.ma@oracle.com> | 2009-12-03 21:55:05 +0800 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-12-30 19:53:35 -0800 |
commit | 86470e98cc52532006f47a6cb96d3ebe1ba7ad97 (patch) | |
tree | f80366196c7b1bcf7546b2ed0265cc66497caff0 /fs/ocfs2/ocfs2.h | |
parent | 6b7b284958d47b77d06745b36bc7f36dab769d9b (diff) |
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 <tao.ma@oracle.com>
Tested-by: Tristan Ye <tristan.ye@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/ocfs2.h')
0 files changed, 0 insertions, 0 deletions