ceph: sync read/write considers page cache
authorYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 9 Feb 2010 19:14:41 +0000 (11:14 -0800)
committerSage Weil <sage@newdream.net>
Thu, 11 Feb 2010 19:48:51 +0000 (11:48 -0800)
In the cases where we either do a sync read or a write, we
need to make sure that everything in the page cache is flushed.
In the case of a sync write we invalidate the relevant pages,
so that subsequent read/write reflects the new data written.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>

No differences found