]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Cache bypass: adjust read size for non-contiguous readpages
authorMarc Dionne <marc.c.dionne@gmail.com>
Sun, 7 Nov 2010 18:35:36 +0000 (13:35 -0500)
committerDerrick Brashear <shadow@dementia.org>
Wed, 12 Jan 2011 14:15:15 +0000 (06:15 -0800)
commit3fbac5f800b689d40fd7bdef63dacfd5125e3714
treecb44a4760c86b3bf46e888f7ab676d4cfba4e6ab
parentc10f264656ccc03549de4f6aa11bf08e33148668
Cache bypass: adjust read size for non-contiguous readpages

The bypass code's readpages does deal with a non-contiguous list
of pages, but it doesn't adjust the size of the read it requests
from the background daemon accordingly.  As a result we'll ask the
server for pages we were not asked to read.

Reviewed-on: http://gerrit.openafs.org/3282
Reviewed-by: Matt Benjamin <matt@linuxbox.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit 0b6b2b3cab09eacf9b03638d8770c83aeb0b8fea)

Change-Id: Ic7241fb27bd177eb7279292804def753f9120407
Reviewed-on: http://gerrit.openafs.org/3643
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/LINUX/osi_vnodeops.c