commit | 29065a513aa4c7e4b46b77cbcd25f814a4ca0bfe | [log] [tgz] |
---|---|---|
author | Yehuda Sadeh <yehuda@hq.newdream.net> | Tue Feb 09 11:14:41 2010 -0800 |
committer | Sage Weil <sage@newdream.net> | Thu Feb 11 11:48:51 2010 -0800 |
tree | 74607baf067fe47a5eeeeb07257186fdd15de989 | |
parent | 3d497d858ae6e5f23a28783030aecc69074e102d [diff] |
ceph: sync read/write considers page cache 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>