commit | 2962507ca204f886967e1a089d9bec206d427c22 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Thu May 27 10:40:43 2010 -0700 |
committer | Sage Weil <sage@newdream.net> | Sun Aug 01 20:11:39 2010 -0700 |
tree | e9cec16b13ad1d8e41c288658e62fb3bf1c66859 | |
parent | 33caad324b88f75f42d836735d86feaafb3b40cf [diff] |
ceph: perform lazy reads when file mode and caps permit If the file mode is marked as "lazy," perform cached/buffered reads when the caps permit it. Adjust the rdcache_gen and invalidation logic accordingly so that we manage our cache based on the FILE_CACHE -or- FILE_LAZYIO cap bits. Signed-off-by: Sage Weil <sage@newdream.net>