Add support for background page copies
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Tue, 14 Jul 2009 23:02:31 +0000 (00:02 +0100)
committerDerrick Brashear <shadow|account-1000005@unknown>
Tue, 29 Sep 2009 19:13:04 +0000 (12:13 -0700)
commitaf9c9d905a08f28dc672dda6e5a6b9437f1650a8
treeae257b6a0a1873b777d7cf1fe31baa22c3b69d39
parentf75d84c404761a03ebf24406db12bfaff4bc3e74
Add support for background page copies

LICENSE BSD

This patch adds support for backgrounding the page copies which are
caused by a call to readpages() In theory, this should improve the
throughput of the AFS kernel module as it permits processes to start
work whilst data is still being read into the page cache for later
pages.

Reviewed-on: http://gerrit.openafs.org/537
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/LINUX/osi_module.c
src/afs/LINUX/osi_pagecopy.c [new file with mode: 0644]
src/afs/LINUX/osi_pagecopy.h [new file with mode: 0644]
src/afs/LINUX/osi_vnodeops.c
src/libafs/Makefile.common.in
src/libafs/MakefileProto.LINUX.in