OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-716-gf47487d

Gerrit Code Review gerrit@openafs.org
Tue, 8 Feb 2011 18:57:57 -0800 (PST)


The following commit has been merged in the master branch:
commit f47487db051ba6b51ae12daf7edc09ecfd3c38cd
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Thu Feb 3 15:40:48 2011 -0600

    ConvertROtoRW: Use old copyDate for creationDate
    
    When we convert an RO volume to an RW, currently we just copy the
    copyDate and creationDate from the RO metadata into the RW. But the
    copyDate and creationDate fields have different meanings for RW and RO
    volumes: for ROs, the creationDate is merely the last time the data
    was updated from the RW during a release operation.
    
    So, if the copyDate is older than the creationDate, use the copyDate
    as the new RW creationDate instead. This will probably not match the
    creationDate of the original RW, but it will be closer to it, and it
    will more accurately represent the conceptual "created time" of the
    new RW.
    
    Doing this can avoid forcing an unnecessary full dump on a subsequent
    release of the resultant RW volume, since the creationDate is more
    accurate.
    
    Change-Id: Ibfffbdc4a79a568261e9e116f6991a3af9db5e0c
    Reviewed-on: http://gerrit.openafs.org/3891
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/vol/listinodes.c |   13 +++++++++++++
 src/vol/namei_ops.c  |   14 ++++++++++++++
 2 files changed, 27 insertions(+), 0 deletions(-)

-- 
OpenAFS Master Repository