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, 25 Oct 2011 23:10:14 +0000 (16:10 -0700)
commit7c272194e66e91830b90f6202e61c69f8590f1eb
tree9a899f357cbf005235fd80ab3b4a240e42498b54
parentc3b92c8787367a8bb53d57d9789b558f1295cc96
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