]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ceph: make readpages fully async
authorSage Weil <sage@newdream.net>
Wed, 3 Aug 2011 16:58:09 +0000 (09:58 -0700)
committerSage Weil <sage@newdream.net>
Tue, 9 Aug 2011 22:27:03 +0000 (15:27 -0700)
commit78e669966f994964581167c6e25c83d22ebb26c6
tree52b7d22c42bfb6e3a5c0a85f02a6dedad77f7f61
parent5185352c163a72cf969b2fbbfb89801b398896fd
ceph: make readpages fully async

When we get a ->readpages() aop, submit async reads for all page ranges
in the provided page list.  Lock the pages immediately, so that VFS/MM
will block until the reads complete.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/addr.c