]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: perform lazy reads when file mode and caps permit
authorSage Weil <sage@newdream.net>
Thu, 27 May 2010 17:40:43 +0000 (10:40 -0700)
committerSage Weil <sage@newdream.net>
Thu, 10 Jun 2010 21:10:10 +0000 (14:10 -0700)
commit0b90dc100346798af2adb4ba31245e2b4b387336
tree1bfafca1d6b8d87ab5e3403322cdbdd1e8047b51
parent432c989e7996808c52634fdd2d9c28f7f4c3944a
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>
fs/ceph/addr.c
fs/ceph/caps.c
fs/ceph/file.c
fs/ceph/inode.c