commit | 690c5e3163502f229e5b5d455e5212e28c20cd6d | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Wed Oct 19 15:30:16 2011 -0400 |
committer | Jeff Layton <jlayton@redhat.com> | Wed Oct 19 15:30:16 2011 -0400 |
tree | fd19fcb81d852b7cb8069b11d8aea1a70e0aac30 | |
parent | e28bc5b1fdbd6e850488234d6072e6b66fc46146 [diff] |
cifs: convert cifs_readpages to use async reads Now that we have code in place to do asynchronous reads, convert cifs_readpages to use it. The new cifs_readpages walks the page_list that gets passed in, locks and adds the pages to the pagecache and sets up cifs_readdata to handle the reads. The rest is handled by the cifs_async_readv infrastructure. Reviewed-and-Tested-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Jeff Layton <jlayton@redhat.com>