DragonFly commits List (threaded) for 2009-03
DragonFly BSD
DragonFly commits List (threaded) for 2009-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly-2.3.0.385.gcb3c7 master sbin/hammer cmd_cleanup.c sys/vfs/hammer hammer_vnops.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 12 Mar 2009 09:08:59 -0700 (PDT)

commit cb3c760c39e6b389729c7f8d6e152f7e20c39879
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Thu Mar 12 09:03:08 2009 -0700

    HAMMER VFS - return shorter-form softlinks "@@-1:%05d" when appropriate.
    
    The HAMMER VFS supports a short "@@-1:%05d" for master PFSs.  Adjust the
    HAMMER VFS to return softlinks in that form and adjust the hammer cleanup
    code to recognize softlinks in that form.
    
    Note that PFS softlinks are created as "@@PFS%05d", but the HAMMER VFS
    presents them in an expanded form which allows the HAMMER VFS to reflect
    the latest synchronized transaction id on slave PFSs.  This also prevents
    slave PFSs from confusing DragonFly's namecache as each snapshot will appear
    to be an entirely different path.
    
    Unfortunately this does mean that cpdup/cp/tar will pickup a translated
    softlink and not the actual one.  It's just something else to remember
    about these 'weird' PFS mount points.
    
    Suggested-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>

Summary of changes:
 sbin/hammer/cmd_cleanup.c     |    3 ++-
 sys/vfs/hammer/hammer_vnops.c |   13 ++++++++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cb3c760c39e6b389729c7f8d6e152f7e20c39879


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]