OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_65-125-ge16ce66
Gerrit Code Review
gerrit@openafs.org
Thu, 22 Oct 2009 11:17:40 -0700 (PDT)
The following commit has been merged in the master branch:
commit e16ce66634a85a870dae3323a2257953cfe571be
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date: Tue Oct 20 12:38:53 2009 +0100
Refactor writepage_sync
This change refactors writepage_sync into 4 functions -
*) prepare_writeback() readies a vnode for writeback, and performs
the anti-recursion check.
*) dopartialwrite() intialises a request and performs the call to
DoPartialWrite
*) page_writeback() does the actual work of writing an AFS page into
the disk cache page
*) complete_writeback clears the writeback flag from a vnode
There should be no change to the current behaviour of writepage_sync,
these modifications are the first part of a fix to our writepage()
behaviour.
Reviewed-on: http://gerrit.openafs.org/712
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/LINUX/osi_vnodeops.c | 96 ++++++++++++++++++++++++++++++------------
1 files changed, 69 insertions(+), 27 deletions(-)
--
OpenAFS Master Repository